.getErrorCount() + count.getErrorCount());
existingCounts.setGranularity(count.getGranularity());
existingCounts.setTopic(count.getTopic());
for (Entry<String, Source> entry : count.getCounts()
.entrySet()) {
Source source = entry.getValue();
if (existingCounts.getCounts().containsKey(
source.toString())) {
Source old = existingCounts.getCounts().get(
source.toString());
old.setCount(old.getCount() + source.getCount());
existingCounts.getCounts().put(old.toString(),
old);
} else {
existingCounts.getCounts().put(
source.toString(), source);
}