Hello together,
in the framework of a GLAM project, we are looking for ways to (1) identify the number of pages in a given category - including via subcategories - on a given wiki (2) get the pageview stats for all these pages, including on aggregate (3) do the above across languages or projects (4) estimate what outcomes to expect in terms of Wikipedia pageviews and related metrics after an image donation of X files to a given category on Commons.
I assume that part of it is available via the API but couldn't find anything close enough.
Any pointers would be appreciated.
Thanks and cheers,
Daniel