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