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 3 .
Output (English): eq { count { filter_eq { all_rows ; manner of departure ; contract terminated } } ; 3 }