instruction: what is the number of patients admitted before 2203 who have diagnoses icd9 code 2662?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2203" AND diagnoses.icd9_code = "2662"