Question: How many distinct complaint type codes are there in the database?
Schema: create table complaints (complaint_type_code varchar, PRIMARY KEY (complaint_type_code))
SQL: select count(distinct complaint_type_code) from complaints