instruction: How many of the patients admitted before the year 2154 were diagnosed with icd9 code 2449?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2154" AND diagnoses.icd9_code = "2449"