the given code for the Shopping Cart Totals in Header Add-On displays the number of products in the cart and not the total quantity of products.

Example, shopper has 1 qty of (product A) and 2 qty of (product B) but "My Cart" shows (2) items, not the total quantity of 3.
Likewise a qty of 1 or 30 of Product A still shows 1 item.

Its a little misleading to the shopper when qty of items and products mean different things.

How can this be adjusted?

Code:
<li><span class="style1">My Cart: 
	<?php echo sizeof($_SESSION['cart']->get_products()); 

 ?> &nbsp;items&nbsp;&nbsp;
 	<?php $header_cart = $currencies->format($_SESSION['cart']->show_total());  
	echo $header_cart;
	?>
</span>
<br class="clearBoth" />
</li>