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