how many times do patient 3745 go to the hospital until 1 year ago.
select count( distinct admissions.hadm_id ) from admissions where admissions.subject_id = 3745 and datetime(admissions.admittime) <= datetime(current_time,'-1 year')