Display Number of Child Pages for Topic List

Permalink
Thought this would be a nice feature if using for a blog or portfolio, there is a guide here for creating a custom template to display the amount of child pages for Autonav -https://documentation.concrete5.org/tutorials/how-display-number-chi...

Just wondered if this could be reused in some way for the Topic List block

Any thoughts?