SubPageList is an extension that allows for listing and counting subpages.
See this Example page for how to use it.