instruction: what is the number of patients whose primary disease is upper gi bleed and year of death is less than or equal to 2179?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "UPPER GI BLEED" AND demographic.dod_year <= "2179.0"