Task: Text to Code
Input (English): select the rows whose edition record is equal to 2005 . among these rows , select the rows whose outcome record fuzzily matches to loss . the number of such rows is 2 .
Output (English): eq { count { filter_eq { filter_eq { all_rows ; edition ; 2005 } ; outcome ; loss } } ; 2 }