instruction: count the number of patients whose diagnoses long title is bone marrow replaced by transplant and lab test fluid is pleural?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Bone marrow replaced by transplant" AND lab.fluid = "Pleural"