{{ count }} {% if count == 1 %}{{ noun }}{% else %}{{ plural }}{% endif %} {% if page_obj.has_other_pages %}
    {% if page_obj.has_previous %}
  • Previous
  • {% endif %}
  • Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}
  • {% if page_obj.has_next %}
  • Next
  • {% endif %}
{% endif %}