for (CurricularCourse curricularCourse : curricularCourses) {
enrollments.addAll(curricularCourse.getActiveEnrollments(executionSemester));
}
DegreeCourseStatisticsDTO degreeCourseStatistics = new DegreeCourseStatisticsDTO();
degreeCourseStatistics.setExternalId(degree.getExternalId());
degreeCourseStatistics.setName(degree.getSigla());
createCourseStatistics(degreeCourseStatistics, enrollments);
results.add(degreeCourseStatistics);
}