Enhances the liquid built-in size filter to work with Paginate objects.

When invoked on a Paginate object, it returns the total number of items in the paginated collection. It is equivalent to the total_items attribute of the Paginate object.

Examples:

{{ user.projects | size }}
{{ collection.static_products | size }}

{% comment %}
Outputs:
12
35
{% endcomment %}