How to get total number of products associated with collection using the Storefront API.

Shopify Partner
14 4 2

I understand that you can retrieve the number of products using the Admin API's collection.productsCount. However, I'd like to achieve the same using the Storefront API. Is there a way to do this? If anyone has any information, please kindly share your knowledge.

Replies 0 (0)