how many times patient 15905 until 3 years ago visited the hospital.
select count( distinct admissions.hadm_id ) from admissions where admissions.subject_id = 15905 and datetime(admissions.admittime) <= datetime(current_time,'-3 year')