{% let frame_count = frames.len() %}

Total {{ frame_count }} steps

legalize steps: {{legalized_count}}

rotate count: {{rotate_count}}

point count: {{point_count}}

edge count: {{edge_count}}

{% for frame in frames %}
{{ frame|safe }}
{% for message in frame_messages[loop.index0] %}

{{ message }}

{% endfor %}
{% endfor %}