Learn

word_count

Counts the number of words in a variable.

Sample Usage

{{ content|word_count }}

This will output the number of words found in the content variable’s value.

Parameters

This modifier has no parameters.

This article was last updated on March 30th, 2016. Find an error? Please let us know!