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