Seems like your map lists pre-historic ring forts, not castles?
I'm not sure what the 'official' definition of a castle is, but I personally wouldn't consider a crannóg or something like Dún Aonghasa a castle. Nor would I consider a stand alone tower house a castle, although they might (along with gate lodges and great houses), sometimes be colloquially referred to as castles.
Surely a castle is a fortified building, specific to the middle ages. Wikipedia agrees - https://en.wikipedia.org/wiki/Castle
Which would put the number of Anglo-Norman castles in Ireland much lower, probably something around 100.
I like the definition where castle is a fortress where a Nobel lives. Fort is where an army lives but no Nobel leader. Palace is where a Nobel lives but it isn't expected to withstand a siege
The map has a category for fortresses too. Which are included in its total count of "castles". So it's seems reasonable to bring them up.
In the intro paragraph of the linked Wikipedia page: “Use of the term has varied over time and, sometimes, has also been applied to structures such as hill forts”.
Yeah, in the other direction, I see at least one WWII-era "pillbox" bunker in France (part of the Marginot Line?) listed as "fortress".
It's a nice idea, but the range seems extremely broad on the one hand but very incomplete on the other hand.