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.

 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.12 00.11 MarkupToHTML begin
 3: 00.12 00.11 MarkupToHTML begin
 4: 00.13 00.12 MarkupToHTML end
 5: 00.13 00.12 MarkupToHTML end
 6: 00.13 00.13 MarkupToHTML begin
 7: 00.14 00.14 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 8: 00.14 00.14 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 9: 00.15 00.14 MarkupToHTML end
10: 00.15 00.14 MarkupToHTML begin
11: 00.15 00.15 MarkupToHTML end
12: 00.16 00.15 now
Peak memory: 3,398,456 bytes