count the number of medications patient 59220 has been prescribed in this month.
select count(*) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 59220 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-0 month')