Task: Text to Code
Input (English): select the rows whose winner record fuzzily matches to bobby clarke . among these rows , select the rows whose goals record is equal to 51 . the number of such rows is 2 .
Output (English): eq { count { filter_eq { filter_eq { all_rows ; winner ; bobby clarke } ; goals ; 51 } } ; 2 }