total++;
}
// visit new and updated definitions
for (SeriesDefinition editedSD : editedSDs.values()) {
SeriesDefinition origSD = originalSDs.get(editedSD.getNumber());
// the "main part" of the series definition
if (!equalIgnoringAttributes(editedSD, origSD)) {
visitor.visit(this, editedSD, origSD);
total++;