instruction: provide the number of patients whose days of hospital stay is greater than 29 and procedure long title is exteriorization of small intestine?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "29" AND procedures.long_title = "Exteriorization of small intestine"