calculate the number of patients who have stayed in the 54 ward since 2 years ago.
select count( distinct admissions.subject_id ) from admissions where admissions.hadm_id in ( select transfers.hadm_id from transfers where transfers.wardid = 54 and datetime(transfers.intime) >= datetime(current_time,'-2 year') )