{% for artstory in artstory_list %} {{forloop.counter}} {% endfor %}
forloop.counter를 사용하면 인덱스를 출력할수있다.