init.setParameter(0, new Integer(numAgs2));
  public ComponentData modifyComponentData(ComponentData data) {    // Just do the addComponentData thing again. That method    // is careful not to do things twice.    // This ensures that everything is set up.    // However, the numProviders may not be correct.    numAgs2 = 0;    data = addComponentData(data);    // OK, now set numAgs2 val in the numProviders slot    // First, find the MetricsInitializer Plugin    ComponentData init = findInitializer(data);    if (init == null) {      // couldn't find the initializer plugin. Big problem      System.err.println("BasicMetric: Could not insert initializer?");      return data;    }        // Then, reset the value of the first parameter    init.setParameter(0, new Integer(numAgs2));    return data;  }