query: SELECT count(*) ,  rank FROM captain GROUP BY rank
question: Count the number of captains that have each rank.
query_toks: SELECT count ( * ) , rank FROM captain GROUP BY rank
query_toks_no_value: select count ( * ) , rank from captain group by rank
question_toks: Count the number of captains that have each rank.