Task: Text to Code
Input (English): select the rows whose written by record fuzzily matches to john sullivan . the number of such rows is 4 .
Output (English): eq { count { filter_eq { all_rows ; written by ; john sullivan } } ; 4 }