Task: Text to Code
Input (English): Tell me the number of dogs that have received any treatment.
Output (English): SELECT count(*) FROM Dogs WHERE dog_id NOT IN ( SELECT dog_id FROM Treatments )