{% if entries is defined %} {% set count = entries|length %} {% endif %}