Task: Grammar Error Detection
Input (English): Fred tore the curtain in rolling up the wallpaper.
Output (English): 1