Yeah I may have worded it incorrectly then, sorry.
First, are you saying the . references are on the archetype page pointing to all the characters or that each character page has a reference/link to the archetype page?
The latter. The archetype page has references for each character. BTW when I say references I mean the ones you add with <ref></ref> I guess that was unclear. So for example on this page for Yandere there are 179 references each corresponding to one character who is that type. You can see that on the bottom of this page:
Second, are you just looking for a way to get the count of an individual archetype like in your example or are you looking to create a table that lists the counts for all archetypes?
Ultimately I am looking to make a table that lists each archetype and then have another column with a count. Such as:
Where the number is how many references are on a page. But I can make the table that's not a problem, I just need a way to get the number added. Categories wouldn't really be helpful here but that's actually useful to know since I didn't know that magic word existed. But I don't need a count of pages in a category, I need a count of references. My goal was basically I thought it'd be interesting to be able to compare how used/popular the types are compared to each other.
Something like this is possible on Google sheets like you could reference a tab (wiki page) and run a count of how many cells are filled (how many references are used) and then output that value elsewhere. I just need way to output the number stated at the bottom of the page, the number of references each page has. Is that possible? If it's not then don't worry about it, I just thought it'd be kinda cool to have that information easily comparable. Then a sortable table could sort it by count highest to lowest and people could easily see which types have hundreds of uses and which only have 2-3 and so on. Does that make sense what I'm asking?