instruction: How many patients were admitted to the hospital before year 2167 with procedure short title adm inhal nitric oxide?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2167" AND procedures.short_title = "Adm inhal nitric oxide"