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