Thread:Semantic-mediawiki.org:Community portal/How do I build a query that counts pages by category or subcategory?/reply


 * 1) Make sure semantics is enabled for category pages,
 * 2) define Template:Count pages in category as  ,
 * 3) insert query   into your page,
 * 4) submit and wait forever until the page is parsed.