01521: CountGlyphs for other pages and sections?

Summary: CountGlyphs for other pages and sections?
Created: 2025-04-01 19:27
Status: Open
Category: Feature
From: Nitram
Assigned:
Priority: 3
Version:
OS:

Description: CountGlyphs for other pages and sections?

I use PmWiki, among other things, for an extensive literary project where books are compiled from many sections of other pages. For planning purposes, it would be useful to determine the number of words and characters in other pages and page sections.

There is the recipe CountGlyphs, which provides the variables {$Glyphs} and {$Words}.

Can anyone extend this recipe (or create a new one) so that I have a directive similar to (:include ... :), like this:

(:countwords PageName#from#to:)

Thank you! Nitram