instruction: count the number of prescribed drugs patient 1114 has been prescribed on the current hospital encounter.
response: 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)