Count the number of different complaint type codes.
SELECT count(DISTINCT complaint_type_code) FROM complaints
SELECT count(DISTINCT complaint_type_code) FROM complaints
[{'count(DISTINCT complaint_type_code)': 2}]