{% if tag_counts %} {% for tag in tag_counts %} {{ tag.name }} ({{ tag.count }}) {% endfor %} {% endif %}