Task: Text to Code
Input (English): select the rows whose executive record fuzzily matches to second . among these rows , select the rows whose first minister record fuzzily matches to ian paisley . the number of such rows is 2 .
Output (English): eq { count { filter_eq { filter_eq { all_rows ; executive ; second } ; first minister ; ian paisley } } ; 2 }