[twig] Counting the number of elements in array