instruction: count the number of patients who until 4 years ago had been admitted to the hospital.
response: SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE DATETIME(admissions.admittime) <= DATETIME(CURRENT_TIME(), '-4 year')