/**
  * This will count the given examples for all registered {@link Aggregator}s with the given
  * weight. If there's no weight attribute available, it is preferable to use the {@link
  * #count(Example)} method, as it might be more efficiently implemented.
  */
 public void count(Example example, double weight) {
   for (Aggregator aggregator : aggregators) {
     aggregator.count(example, weight);
   }
 }
 /** This will count the given examples for all registered {@link Aggregator}s. */
 public void count(Example example) {
   for (Aggregator aggregator : aggregators) {
     aggregator.count(example);
   }
 }