Task: Text to Code
Input (English): select the rows whose points ( total 500 ) record is greater than 300 . the number of such rows is 3 .
Output (English): eq { count { filter_greater { all_rows ; points ( total 500 ) ; 300 } } ; 3 }