Count
Get the number of entries in a collection.
Example
Template
There are {{ collection:count in="blog" }} blog posts.
Output
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. |