ispravil algoritm pods4eta koli4estva kuplennyh kursov (model.course.getCountAvailableLessons)