For information purposes, it would be appreciable to have a magic word returning the number of protected pages, according to the settings of [[Special:ProtectedPages]], i.e. something like:
{{NUMBEROFPROTECTEDPAGES|namespace|action|protectionlevel|indefiniteonly=yes|cascadingonly=yes}}
with the last two parameters being options.
Version: 1.22.0
Severity: enhancement