instruction: how many patients diagnosed with pneumonia passed away in or before the year 2131?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "PNEUMONIA" AND demographic.dod_year <= "2131.0"