Question: Count the number of different ranks of captain.
SQL: SELECT count(DISTINCT rank) FROM captain