Task: Text to Code
Input (English): select the rows whose draw record is less than or equal to 3 . among these rows , select the rows whose votes record is greater than 5000 . the number of such rows is 1 .
Output (English): eq { count { filter_greater { filter_less_eq { all_rows ; draw ; 3 } ; votes ; 5000 } } ; 1 }