count the number of prescribed drugs patient 1114 has been prescribed on the current hospital encounter.
select count(*) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 1114 and admissions.dischtime is null )