Task: Text to Code
Input (English): select the rows whose event record fuzzily matches to ufc . among these rows , select the rows whose res record fuzzily matches to win . the number of such rows is 8 .
Output (English): eq { count { filter_eq { filter_eq { all_rows ; event ; ufc } ; res ; win } } ; 8 }