instruction: how many patients whose discharge location is long term care hospital and diagnoses long title is abnormal coagulation profile?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "LONG TERM CARE HOSPITAL" AND diagnoses.long_title = "Abnormal coagulation profile"