###HUMAN: find the number of patients with blood gas lab test category who were hospitalized for more than 7 days., ###ASSISTANT: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "7" AND lab."CATEGORY" = "Blood Gas"