code: public static <C extends Compound> int countCompounds(
  			Sequence<C> sequence, C... compounds) {
  		int count = 0;
  		Map<C, Integer> compositon = getComposition(sequence);
  		for (C compound : compounds) {
  			if(compositon.containsKey(compound)) {
  				count = compositon.get(compound) + count;
  			}
  		}
  		return count;
  	}
docs: For the given vargs of compounds this method counts the number of
  times those compounds appear in the given sequence
  
  @param sequence The {@link Sequence} to perform the count on
  @param compounds The compounds to look for
  @param <C> The type of compound we are looking for
  @return The number of times the given compounds appear in this Sequence