Find the number of records of each policy type and its type code.
create table policies (policy_type_code varchar, PRIMARY KEY (policy_type_code))
select policy_type_code, count(*) from policies group by policy_type_code