instruction: what is the number of patients whose admission type is elective and days of hospital stay is greater than 10?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.days_stay > "10"