Cómo agregar el contador de carritos de WooCommerce
<a href="<?php echo wc_get_cart_url() ?>" class="misha-cart">Cart (<?php echo $woocommerce->cart->cart_contents_count ?>)</a>
Depressed Dogfish