Hi Kellan,
The issue is that the ProductsCount does not have the same functionality as products/count.json
When the graphql request has any parameters attached it returns a max count of 10,000.
For example, if I want to get a count of all published products on a store with over 10,000 published products, it’s wrong. But in theory, I could get a count of all Products (with no query params - which returns the full count) and subtract the unpublished count which is usually under 10,000, but not always… some stores with over 100-200K products can sometimes have tens of thousands of unpublished products.
This is also the case when attaching other types of useful query params and the results are over 10K.
I’ve discussed this in several posts in the last 1 year:
Am I the only developer that experiences these gaps? What does products/count.json have to do with 2048 variants? Wouldn’t the easiest solution be to uncouple the flagging for products/count.json so that we can keep using it without being in violation of some unnecessary rule?