Updates to check for voucher codes when counting items.