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