When I run UpdateArticleCount.php, I get "Counting articles...found 25.", despite I see 72 articles in main space in "Special:Allpages". I ran Rebuildall.php with no more success. Any tip?
Topic on Manual talk:UpdateArticleCount.php/Flow
If your wiki is using the default settings, then it is only counting pages in the main namespace that contain at least one wikilink (to another page on the same wiki). Pages listed at "Special:DeadendPages" on your wiki are not being counted as articles, since they do not link to any other pages. See Manual:Article count and Manual:$wgArticleCountMethod for more details.