how many patients stay since 4 years ago in ward 49?
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,'-4 year') )