Last modified: 2009-08-26 00:14:58 UTC
Currently, the AbuseFilter can count the number of times a string appears in a haystack (via count) and the number of times a regex appears in a haystack (via rcount). I think that it would be useful to have a ParserFunction that could do the same. In particular, on the referenced RFPP page, we could find the difference between the number of occurrences of "{{la|" and the number "{{RFPP|" in order to report an admin backlog when appropriate.
Already exists in ParserFunctions as {{#count}} with $wgPFEnableStringFunctions enabled. Getting that enabled on WMF is bug 6455.