how many patients were in the 16 hospital ward until 2104?
select count( distinct admissions.subject_id ) from admissions where admissions.hadm_id in ( select transfers.hadm_id from transfers where transfers.wardid = 16 and strftime('%y',transfers.intime) <= '2104' )