Thread:Project:Support desk/Does Mediawiki have user create article numbers count?/reply

The source for the toolserver program should be available. You could use that to query your own database.