Task: Grammar Error Detection
Input (English): John was wondering to whom he was referring to.
Output (English): 0