We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Count all elements in an array or own properties in an object.
{$a = ['a','b','c','d']} {$a|count} //== 4 {$person = [name=>[first=>'John',last=>'Doe'], age=>36]} {$person|count} //== 2 {$person|count:1} //== 4