instruction: how many patients with diagnoses icd9 code 5601 stayed in hospital for more than 9 days?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "9" AND diagnoses.icd9_code = "5601"