count the number of people who were discharged this year from the hospital.
select count( distinct admissions.subject_id ) from admissions where admissions.dischtime is not null and datetime(admissions.dischtime,'start of year') = datetime(current_time,'start of year','-0 year')