Task: Text to Code
Input (English): How many students have advisors?
Output (English): SELECT count(DISTINCT s_id) FROM advisor