end what is function count equivalent in volt
You'll can get this value easy with loop controls : https://docs.phalcon.io/en/latest/reference/volt.html#loop-context Example :
{% set a = [1,2,3] %} {% for val in a %} {% if loop.first %} {{ loop.length }} {% endif %} {% endfor %}