Task: Text to Code
Input (English): select the rows whose rank record is less than or equal to 10 . the number of such rows is 8 .
Output (English): eq { count { filter_less_eq { all_rows ; rank ; 10 } } ; 8 }