added counting feature to cart