A method for calculating adherence to polypharmacy from dispensing data records