count the number of medications patient 73713 had been prescribed in the previous month.
select count(*) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 73713 ) and datetime(prescriptions.startdate,'start of month') = datetime(current_time,'start of month','-1 month')