For some reason removing the “(._;>;);
” that got added by the auto-repair did the trick.
So my code now is:
area["ISO3166-2"="AU-SA"];
nwr["amenity"="fire_station"](area)->.a;
foreach.a->.elem(
nwr.a(around.elem:100);
(._; - .elem;);
out geom;
);
The only thing I am still missing is a working out count;
to give me the total number of hits.