Task: Text to Code
Input (English): select the rows whose directed by record fuzzily matches to steve mann . among these rows , select the rows whose written by record fuzzily matches to john ridley . the number of such rows is 3 .
Output (English): eq { count { filter_eq { filter_eq { all_rows ; directed by ; steve mann } ; written by ; john ridley } } ; 3 }