docs: @Deprecated
    public static int cardinalityInBitmapWordRange(long[] bitmap, int start, int end) {
      if (start >= end) {
        return 0;
      }
      int firstword = start / 64;
      int endword = (end - 1) / 64;
      int answer = 0;
      for (int i = firstword; i <= endword; i++) {
        answer += Long.bitCount(bitmap[i]);
      }
      return answer;
    }