instruction: What is the number of patients discharged to psychiatric facility-partial hospitalization who had a (aorto)coronary bypass of three coronary arteries procedure?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "DISCH-TRAN TO PSYCH HOSP" AND procedures.long_title = "(Aorto)coronary bypass of three coronary arteries"