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