instruction: what is the number of patients whose gender is m and discharge location is left against medical advi?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.discharge_location = "LEFT AGAINST MEDICAL ADVI"