instruction: count the number of patients whose gender is f and discharge location is home?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.discharge_location = "HOME"