[CountWords]Any Text[/CountWords]
To count the number of words in something, put the text inside a [CountWords] context.
Example (normally you would put the following text into a .tpl file on your server and use a web browser to link to it):
Try It!
In the example above, the displayed text will be
9
The number displayed is the number of words inside the context -- the number of words found depends on the delimiters you specify. If you specify spaces, commas, and periods as delimiters, then those characters will not be counted, and words will be defined as any text that is *not* a delimiter. Long runs of delimiters are ignored, so more than one space between words will not increase the word count.