instruction: find the number of patients with coronary artery disease/coronary artery bypass graft/sda who are taking glycopyrrolate medication.
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT /SDA" AND prescriptions.drug = "Glycopyrrolate"