use modifier on collection count

im on statamic v2 and would like to manipulate my collection count outside of the loop. I search and read the docs but couldn't find a solution. e.g. for a list this works:

{{ collectionpreview_images | count | divide:4 | ceil }}

This won't work for a collection:

{{ collection:count :in="previews" | mod:3 }}

Is this somehow possible on collections aswell?

Thanks Alex

Answered by alex!
>>>>>>> Answered <<<<<<<
2 Replies
2 Followers