🎉 If you are still on v2, we offer attractive prices for all owners of a Kirby 2 license to upgrade to v3.
Upgrade your v2 license now
.
$collection->count()
Counts all elements in the array
return
(int)
Examples:
This collection has <?= $collection->count() ?> items
↑
Toolkit API overview
←
$collection->chunk($size)
→
$collection->current()
↓
Back to Toolkit API section
Top