instruction: How many patients who had icd9 code 7935 died in or before the year 2111?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dod_year <= "2111.0" AND procedures.icd9_code = "7935"