You can get cart total quantity and grandtotal in Magento as following.
//Start of code
$cartItemsCount = $this->helper(‘checkout/cart’)->getSummaryCount(); //get total items in cart
$cartTotal = $this->helper(‘checkout/cart’)->getQuote()->getGrandTotal(); //get total price
//End of code