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.20 00.20 MarkupToHTML begin
 3: 00.21 00.20 MarkupToHTML begin
 4: 00.21 00.21 MarkupToHTML end
 5: 00.22 00.21 MarkupToHTML end
 6: 00.22 00.22 MarkupToHTML begin
 7: 00.23 00.22 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 8: 00.23 00.23 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 9: 00.24 00.23 MarkupToHTML end
10: 00.24 00.23 MarkupToHTML begin
11: 00.24 00.24 MarkupToHTML end
12: 00.24 00.24 now
Peak memory: 3,715,176 bytes