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