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