How many distinct complaint type codes are there in the database?
select count(distinct complaint_type_code) from complaints