instruction: number of drugs that patient 010-36899 had been prescribed until 167 months ago.
response: SELECT COUNT(*) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-36899')) AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-167 month')