{% for host in hosts %}
{{ host.name }} {{ counts.get(host.name, 0) }} running
{% for container in containers if container.host == host.name %}
{{ container.name }}
{% else %} No containers {% endfor %}
{% endfor %}