code: public Long getCount(int pollerIndex) {
      long updates = 0;
      for (Counter c : bucketCount) {
        updates += c.getValue(pollerIndex).longValue();
      }
      updates += overflowCount.getValue(pollerIndex).longValue();
  
      return updates;
    }
docs: Get the total number of updates.