Task: Text to Code
Input (English): select the rows whose rank record is less than or equal to 3 . among these rows , select the rows whose loss record is greater than or equal to 1 . the number of such rows is 2 .
Output (English): eq { count { filter_greater_eq { filter_less_eq { all_rows ; rank ; 3 } ; loss ; 1 } } ; 2 }