Show the invoice number and the number of transactions for each invoice.
select invoice_number, count(*) from financial_transactions group by invoice_number