Count

Get the number of entries in a collection.


Example

There are {{ collection:count in="blog" }} blog posts.
There are 10 blog posts.

Parameters

from|folder|use|in|collection

string

The collection in which to count entries. All the parameters do the same thing - use whatever feels most natural in your templates.

collection params

inheritance

All parameters available on the collection tag are also available here.

Last modified on May 13, 2019