Task: Text to Code
Input (English): select the rows whose played record is equal to 17 . the number of such rows is 6 .
Output (English): eq { count { filter_eq { all_rows ; played ; 17 } } ; 6 }