{% autoescape on %}
<ol>
{% for value in values %}
<li>
{{ value.key }} ({{ value.value }})
</li>
{% endfor %}
</ol>
{% endautoescape %}