Task: Text to Code
Input (English): select the rows whose trailing party record fuzzily matches to indian national congress . among these rows , select the rows whose party won record fuzzily matches to praja socialist party . the number of such rows is 3 .
Output (English): eq { count { filter_eq { filter_eq { all_rows ; trailing party ; indian national congress } ; party won ; praja socialist party } } ; 3 }