Show the transaction types and the total amount of transactions.
return transactions ;return types of #1 ;return amounts of #1 ;return sum of #3 ;return #2 ,  #4
['select', 'project', 'project', 'aggregate', 'union']