fixed the issue with not properly reseting count at checkout