Forum:Count pages in main namespace

Does anyone know a way to easily count the non-redirect pages in ONLY the main namespace? Or at least to count the redirects, which can be subtracted from the total page count.

Thanks! Psychoadept (talk) 13:00, August 16, 2012 (UTC)


 * Short answer: gives . :)
 * Long answer: you might be interested in reading http://www.mediawiki.org/wiki/Manual:Article_count and http://www.mediawiki.org/wiki/Help:Magic_words -452 00:45, August 17, 2012 (UTC)


 * Except that some of the namespace magic words don't seem to be working. -- 21:32, August 17, 2012 (UTC)