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.02 00.01 config end
 2: 00.04 00.02 MarkupToHTML begin
 3: 00.04 00.03 MarkupToHTML begin
 4: 00.04 00.03 MarkupToHTML end
 5: 00.05 00.03 MarkupToHTML end
 6: 00.05 00.04 MarkupToHTML begin
 7: 00.06 00.05 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 8: 00.07 00.05 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 9: 00.07 00.06 MarkupToHTML end
10: 00.07 00.06 MarkupToHTML begin
11: 00.08 00.06 MarkupToHTML end
12: 00.08 00.06 now
Peak memory: 3,818,792 bytes