Skip to content Skip to footer navigation

Count Modifier#

Count the number of items in an array.

fruit:
- apples
- bananas
- bacon
yaml
yaml
{{ fruit | count }}
antlers
antlers
3
html
html