instruction: count the number of patients whose days of hospital stay is greater than 7 and diagnoses short title is other postop infection?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "7" AND diagnoses.short_title = "Other postop infection"