Imerslund-Gräsbeck disease or pernicious anemia

My hematologist is testing me for both. How rare are they?