code: int numShardsIOwn() {
          final boolean[] shards = iOwn.get();
          if (shards == null)
              return 0;
          return (int) IntStream.range(0, shards.length).mapToObj(i -> Boolean.valueOf(shards[i])).filter(b -> b.booleanValue()).count();
      }
docs: ===============================================================