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