code: @Override
  	public int countCompounds(C... compounds) {
  		int count = 0;
  		List<C> search = Arrays.asList(compounds);
  		for (C compound : getAsList()) {
  			if (search.contains(compound)) {
  				count++;
  			}
  		}
  		return count;
  	}
docs: methods for Sequence