Task: Text to Code
Input (English): Find the number of patients' prescriptions physician John Dorian made.
Output (English): SELECT count(T1.SSN) FROM patient AS T1 JOIN prescribes AS T2 ON T1.SSN  =  T2.patient JOIN physician AS T3 ON T2.physician  =  T3.employeeid WHERE T3.name = "John Dorian"