instruction: Count the number of patients whose ethnicity is American Indian/Alaska native and were given the drug magnesium oxide.
response: SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND prescriptions.drug = "Magnesium Oxide"