Task: Text to Code
Input (English): select the rows whose type record fuzzily matches to plain stage . the number of such rows is 10 .
Output (English): eq { count { filter_eq { all_rows ; type ; plain stage } } ; 10 }