filter output apart from count