Task: Text to Code
Input (English): How many different genders are there in the dorms?
Output (English): SELECT count(DISTINCT gender) FROM dorm