instruction: how many patients whose admission year is less than 2197 and procedure icd9 code is 3323?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2197" AND procedures.icd9_code = "3323"