added cart count function