If you have < 100, you might be able to use Finsweet’s CMS count items feature.
If you have hundreds of products, I may have a different solution for you, which I use to count total published CMS items. I haven’t used it for products, but it should work equally well there.