// get registered node aliases like fo, den, st, and so on
List<String> courseNodeAliases = CourseNodeFactory.getInstance().getRegisteredCourseNodeAliases();
// count all LoggingObjects which have not a course node resourceable type two times
int count = 0;
for (Object o : loggingObjects) {
LoggingObject loggingObject = (LoggingObject) o;
if(!(courseNodeAliases.contains(loggingObject.getTargetResType()) && courseNodeAliases.contains(loggingObject.getParentResType()))) {
count++;
}
}
setAggregation(count);
}