how many times was patient 49176 prescribed erythromycin on the current hospital encounter?
select count(*) from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 49176 and admissions.dischtime is null ) and prescriptions.drug = 'erythromycin'