instruction: how many patients are admitted before 2179 and diagnosed with pressure ulcer, stage ii?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2179" AND diagnoses.long_title = "Pressure ulcer, stage II"