ziafazal/api-fix-users-grade-complete-count: fixed count exceeding total...

@mattdrayer @dino-cikatic @dsego This would  fix count exceeding total participants
and users_grade_average float conversion exception when average is None.