Task: Text to Code
Input (English): select the rows whose events record is greater than 10 . among these rows , select the rows whose top - 10 record is equal to 2 . the number of such rows is 2 .
Output (English): eq { count { filter_eq { filter_greater { all_rows ; events ; 10 } ; top - 10 ; 2 } } ; 2 }