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