A simple accurate word count filter for Craft CMS
- Move the
wordcount
directory tocraft/plugins
directory. - Install wordcount under Craft Admin › Settings › Plugins.
{{ entry.field | wordCount }}
Will output
100
This work is licensed under the MIT license.