Task: Text to Code
Input (English): select the rows whose gold record is equal to 0 . among these rows , select the rows whose silver record is equal to 1 . the number of such rows is 2 .
Output (English): eq { count { filter_eq { filter_eq { all_rows ; gold ; 0 } ; silver ; 1 } } ; 2 }