{% comment %} For this widget to work you must import Slick CSS and JS {% endcomment %} {% assign courseCompletedCouter = 0 %} {% for course in courses.enrolled %} {% if course.progress == 100 %} {% assign courseCompletedCouter = courseCompletedCouter | plus: 1 %} {% endif %} {% endfor %}