Anyone knows how to addition two variable in twig I want to do something like:
{{ var1 }} + {{ var2 }}
Declaration :
{% set counter = 0 %}
Doing the addition :
{% set counter = counter + 1 %}
For displaying in twig template :
{{ counter }}