instruction: give me the number of patients whose admission type is elective and discharge location is rehab/distinct part hosp?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.discharge_location = "REHAB/DISTINCT PART HOSP"