How many transactions correspond to each invoice number?
SELECT invoice_number ,  count(*) FROM Financial_transactions GROUP BY invoice_number
number of transactions for each invoice number = COUNT(*) GROUPED BY invoice_number;