Task: Text to Code
Input (English): How many dogs went through any treatments?
Output (English): SELECT count(DISTINCT dog_id) FROM Treatments