Extension:SectionsCount

The SectionsCount extension adds a parser function that displays the number of sections in a page.