Task: Text to Code
Input (English): select the rows whose winning percentage record is equal to 1 . among these rows , select the rows whose wins record is equal to 2 . the number of such rows is 2 .
Output (English): eq { count { filter_eq { filter_eq { all_rows ; winning percentage ; 1 } ; wins ; 2 } } ; 2 }