I am grateful; thank you @Kovoschiz.
Tell me please. If I use:

[out:json][timeout:30];
// --when areas have duplicate names given the world has a limited amount of uniquely named places
area[name=“Western Cape”] ->.b;
// – target area ~ can be way or relation
relation(area.b)[name=“Woodstock”];
map_to_area → .a;
// I want all buildings
(way’building’;
// and relation type=multipolygon ~ to removed courtyards from buildings
relation[“building”]“type”=“multipolygon”;
);
out…

How would I determine the count / amount of polygons returned please?