Remove the Product Count on Categories in WooCommerce

This snippet will remove the product count functionality site-wide. To do this, place this code in your functions.php file.

/** Remove product count functionality site-wide */
function woocommerce_result_count() {
        return;
}