Task: Text to Code
Input (English): select the rows whose opponent record fuzzily matches to toronto maple leafs . the number of such rows is 3 .
Output (English): eq { count { filter_eq { all_rows ; opponent ; toronto maple leafs } } ; 3 }