I imagine you would have to sum the WordCount values of your descendants somewhere in your container, then use that computed value.
Maybe these would be helpful:
Counting words in an outline's note and all its child notes.
Searching for a nice dashboard.
(PS - don’t have sufficient Discord skills to fold down the previews on the links, sorry!)