instruction: tell me the number of patients who had elective type admission in hospital before the year 2105.
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.admityear < "2105"