instruction: what is the number of patients whose admission year is before 2187 and with procedure title colostomy nos?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2187" AND procedures.short_title = "Colostomy NOS"