// First copy string values from input to output
copyValues(inst, true, inst.dataset(), getOutputFormat());
// Insert the new attribute and reassign to output
inst.setDataset(null);
inst.insertAttributeAt(m_Index.getIndex());
inst.setValue(m_Index.getIndex(), m_Counter);
inst.setDataset(getOutputFormat());
push(inst);
}