instruction: count the number of patients whose admission location is emergency room admit and days of hospital stay is greater than 2?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND demographic.days_stay > "2"