[eluser]beaudierman[/eluser]
The reason it's returning 1 is because you're using the PHP count function, which isn't working because of the multi-dimensional array that is being put in it. The cart class' total_items function returns an integer already so the count function isn't needed.
This should return 6 if you have 6 items in your cart:
Code:
<?php echo $this->cart->total_items(); ?>