Thread:Project:Support desk/Count articles that belong only to two (or three) specific categories

Hello,

we are using the following versions: MediaWiki	1.16.5 PHP	5.2.4-2ubuntu5.17 (apache2handler) MySQL	5.0.51a-3ubuntu5.8

I want to create a statistics of our wiki about the number count of articles that belong to a range of categories, e.g. all articles that belong to the categories "Artists" and "1999" and then a separate count of articles that belong to "Artists" and "1998", so that I can see later in a table how many artists per year we have already in our database.

I tried MAGIC WORDS (PAGESINCATEGORY) and also DPL, but they didnt help.

Any ideas?

UPDATE: My wiki is www.rockinchina.com, in case you want to see it. I didnt put up dedicated pages, because as per the above it doesnt work at all.