{% for metric, val in metrics %}
{% if metric.type == 'count' and metric.count_value %}
{% widthratio val count_max 100 as hv %}
{{ metric.count_value }}
{% else %}
{{ metric.name }}:
{{ val }}
{% endif %}
{% endfor %}