Task: Text to Code
Input (English): select the rows whose attendance record is greater than 50000 . among these rows , select the rows whose result record fuzzily matches to w . the number of such rows is 2 .
Output (English): eq { count { filter_eq { filter_greater { all_rows ; attendance ; 50000 } ; result ; w } } ; 2 }