count the hospital visits patient 17608 has been to until 2 years ago.
select count( distinct admissions.hadm_id ) from admissions where admissions.subject_id = 17608 and datetime(admissions.admittime) <= datetime(current_time,'-2 year')