instruction: tell me the number of patients who had c4 lab test and were hospitalized for more than 9 days.
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "9" AND lab.label = "C4"