I have a nested list. I need to iterate through a list and keep it in for loop as shown below.
{% for alpha in list %}
You can use the "length" property:
{% for n in range(yourList| length) %}
{{n + 1}}.
{{yourList[n].iterable}}
{% endfor %}
Length is similar to len(yourlist) that we have in python.