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