Before the loop
{%- call(it) custom_loop(5) %}
  Iteration {{ it }}!
{%- endcall %}
After the loop