instruction: how many male patients are diagnosed with cyst and pseudocyst of pancreas?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.long_title = "Cyst and pseudocyst of pancreas"