{% load i18n %}
  <li class="page-item disabled page-item-first">
      <a class="page-link" href="#" tabindex="-1">
          <span class="text-success">{{ cl.result_count }}</span>
          <span>
              {% ifequal cl.result_count 1 %}
                  {{ cl.opts.verbose_name }}{% else %}
                  {{ cl.opts.verbose_name_plural }}
              {% endifequal %}
          </span>
      </a>
  </li>
  {% if pagination_required %}
    {% for num in page_range %}{{ num }}{% endfor %}
  {% endif %}
  {% if show_all_url %}
    <li class="page-item">
        <a href="{{ show_all_url }}" class="page-link showall" tabindex="-1">{% trans 'Show all' %}</a>
    </li>
  {% endif %}

{% load i18n %}
  <li class="page-item disabled page-item-first">
      <a class="page-link" href="#" tabindex="-1">
          <span class="text-success page-result-count">{{ cl.result_count }}</span>
          <span>
              {% ifequal cl.result_count 1 %}
                  {{ cl.opts.verbose_name }}{% else %}
                  {{ cl.opts.verbose_name_plural }}
              {% endifequal %}
          </span>
      </a>
  </li>
  {% if pagination_required %}
    {% for num in page_range %}{{ num }}{% endfor %}
  {% endif %}
  {% if show_all_url %}
    <li class="page-item">
        <a href="{{ show_all_url }}" class="page-link showall" tabindex="-1">{% trans 'Show all' %}</a>
    </li>
  {% endif %}

Add class 'page-result-count' to result-count span.
Add class 'page-result-count' to result-count span.
