count how many times patient 26757 came to the icu until 3 years ago.
select count( distinct icustays.icustay_id ) from icustays where icustays.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 26757 ) and datetime(icustays.intime) <= datetime(current_time,'-3 year')