instruction: give me the number of patients admitted before 2112 who had joint fluid rbc lab test.
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2112" AND lab.label = "RBC, Joint Fluid"