instruction: count the number of patients diagnosed with cerebral embolism with cerebral infarction who stayed in hospital for more than 5 days.
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "5" AND diagnoses.short_title = "Crbl emblsm w infrct"