instruction: provide the number of patients whose admission year is less than 2195 and diagnoses icd9 code is 78659?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2195" AND diagnoses.icd9_code = "78659"