length
Found a typo or an error? Want to improve this document? Edit it.
Need support or have a technical question? Post to the user mailing-list.
The length filters returns the number of items of a sequence or mapping, or the length of a string:
1 2 3
{% if users|length > 10 %} ... {% endif %}