tmTotals function

Gets the 'totals' attribute