add with_points_count scope