instruction: give me the number of patients whose gender is m and discharge location is snf?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.discharge_location = "SNF"