CountGlyphs

This page tests an experimental {$Glyphs} and {$Words} markup. {$Glyphs} counts the number of non-whitespace characters in a page, while {$Words} counts the number of words. Both of them count exclusive of any HTML tags that may be produced.

Here's an example:

This page contains {$Glyphs} glyphs and {$Words} words.

This page contains 50 glyphs and 8 words.

Note that the count of glyphs may be slightly different from what you expect due to the existence of the {$Glyphs} markup itself.

Peak memory: 1,482,344 bytes