Show the statement ids from all accounts.
select statement_id from accounts
For each of them, also show the number of accounts.
select statement_id, count(*) from accounts group by statement_id