validate count in cart