instruction: what is the number of patients whose admission location is emergency room admit and primary disease is pneumonia?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND demographic.diagnosis = "PNEUMONIA"