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