@Alan_19 It seems that this error has been updated by Shopify, the current results are the same when viewing the number of products of a collection directly from the store and from the Shopify API.
We believe the data has been returned incorrectly before, please investigate it. We need answers for the customer, feel free to let me know what I can provide or help. Many thanks
Data view at the store:
Data return from Shopify API:

