Schema: CREATE TABLE complaints (complaint_type_code VARCHAR)
Question: How many distinct complaint type codes are there in the database?
SQL: SELECT COUNT(DISTINCT complaint_type_code) FROM complaints