instruction: what is the number of patients whose discharge location is snf and diagnoses short title is chr kidney dis stage iv?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "SNF" AND diagnoses.short_title = "Chr kidney dis stage IV"