The pagecount
directive is supplied by the [[!iki plugins/pagecount desc=pagecount]] plugin.
This directive counts pages currently in the wiki. Example:
[[!pagecount pages="*"]]
The optional parameter "pages" can be a PageSpec specifying the pages to count, default is to count them all.