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