calculate the number of drugs until 10/2103 patient 13848 has been prescribed.
select count(*) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 13848 ) and strftime('%y-%m',prescriptions.startdate) <= '2103-10'