Last modified: 2011-04-14 15:14:10 UTC
Atm there is no way to return the correct number of categories, because {{PAGESINNS:14}} counts all pages like manually created redirects while {{NUMBEROFARTICLES}} excludes those. The easiest way might be a global to define if redirects should be counted (default) or not for {{PAGESINNS}}.
Just for those who want to manually fix it: includes/SiteStats.php > static function pagesInNs( $ns ) array( 'page_namespace' => $ns ) to array( 'page_namespace' => $ns, 'page_is_redirect' => '0' )