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