{% load i18n wagtailadmin_tags %}

<li>
    {% icon name="image" %}
    <a href="{% url 'wagtailimages:index' %}">
        {% blocktrans trimmed count counter=total_images with total_images|intcomma as total %}
            <span>{{ total }}</span> Image <span class="w-sr-only">created in {{ site_name }}</span>
        {% plural %}
            <span>{{ total }}</span> Images <span class="w-sr-only">created in {{ site_name }}</span>
        {% endblocktrans %}
    </a>
</li>
