code: public int cardinality() {
  		int answer = 0;
  		for (int k = 0; k < this.buffer.size(); k += 2) {
  			answer += Integer.bitCount(this.buffer.get(k + 1));
  		}
  		return answer;
  	}
docs: Compute the cardinality.
  
  @return the cardinality