count how many patients have been released from the hospital until 2104.
select count( distinct admissions.subject_id ) from admissions where admissions.dischtime is not null and strftime('%y',admissions.dischtime) <= '2104'