How many transactions correspond to each invoice number?
select invoice_number, count(*) from financial_transactions group by invoice_number