SELECT count(DISTINCT complaint_type_code) FROM complaints
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 the number of different complaint type codes .