instruction: how many patients are diagnosed with primary disease gastrointestinal bleed and admitted before the year 2124?
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "GASTROINTESTINAL BLEED" AND demographic.admityear < "2124"