This is the "Page limit" template. Takes a comma separated list and returns the length

{{Page limit
|pagenames=
|limit=
}}

Edit the page to see the template text.