count the number of medications that patient 87232 was prescribed since 1 year ago.
select count(*) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 87232 ) and datetime(prescriptions.startdate) >= datetime(current_time,'-1 year')