what is the number of patients who stayed in ward 49 since 5 years ago?
select count( distinct admissions.subject_id ) from admissions where admissions.hadm_id in ( select transfers.hadm_id from transfers where transfers.wardid = 49 and datetime(transfers.intime) >= datetime(current_time,'-5 year') )