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