Task: Text to Code
Input (English): select the rows whose spectators record is equal to 50000 . among these rows , select the rows whose res record fuzzily matches to 3 . the number of such rows is 2 .
Output (English): eq { count { filter_eq { filter_eq { all_rows ; spectators ; 50000 } ; res ; 3 } } ; 2 }