Task: Text to Code
Input (English): select the rows whose rank record is equal to 12 . the number of such rows is 6 .
Output (English): eq { count { filter_eq { all_rows ; rank ; 12 } } ; 6 }