instruction: how many patients whose year of birth is less than 2167 and procedure short title is atria septa def rep nec?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2167" AND procedures.short_title = "Atria septa def rep NEC"