What are the different account ids that have made financial transactions, as well as how many transactions correspond to each?
return account ids ;return #1 that  have made financial transactions ;return different #2 ;return transactions of #3 ;return number of  #4 for each #3 ;return #4 ,  #5
['select', 'filter', 'project', 'project', 'group', 'union']