By using line total: {{ cart.lineItems|length }}
it returns the number of 'products' in the current sessions cart. However, this doesn't seem to take into account the qty of each variant.
So if I add 3 of variant A and 2 of variant B, the lineItems|length would equal 2. But I want to cart to show there are 5 items added.
How can I get the total of all the items in the cart including qty of each variant?