instruction: count the number of patients whose gender is m and admission type is newborn?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.admission_type = "NEWBORN"