Show the number of transactions for different investors.
select investor_id, count(*) from transactions group by investor_id