Find the number of records of each policy type and its type code.
CREATE TABLE policies (policy_type_code VARCHAR)
SELECT policy_type_code, COUNT(*) FROM policies GROUP BY policy_type_code
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE policies (policy_type_code VARCHAR) Question: Find the number of records of each policy type and its type code. [/INST] SELECT policy_type_code, COUNT(*) FROM policies GROUP BY policy_type_code </s>