code: public int cardinality() {
          int sum=0;
          for(int i=0; i < words.length; i++)
              sum+=Long.bitCount(words[i]);
          return sum;
      }
docs: Returns the number of bits set to <tt>true</tt> in this bit set
  @return the number of bits set to <tt>true</tt> in this bit set