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