Ratings and review count is automatically calculated when a user posts a review.
This tutorial shows how you can force change reviews and rating count for Course in WPLMS.