Task: Text to Code
Input (English): How many kinds of different ratings are listed?
Output (English): SELECT count(DISTINCT rating) FROM film