docs: public long countBits(boolean bit, long position) {
  		updateCount();
  		int blockNumber = (int) (position / this.blockSize);
  		long mark = ((long) blockNumber) * this.blockSize;
  		long trueValues = 0;
  		if (blockNumber > 0) {
  			trueValues = this.countArray[blockNumber - 1];
  		}
  		for (long index = mark; index <= position; index++) {
  			trueValues += this.bitVector.getBit(index) ? 1 : 0;
  		}
  		return bit ? trueValues : ((position + 1) - trueValues);
  	}