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