added number of items in cart via middleware