def size
        index = get_grouped_index

        values = @groups_by_pos.values.map(&:size)
        Daru::Vector.new(values, index: index, name: :size)
      end
Get a Daru::Vector of the size of each group.