Rating average is not calculating correctly and count of the points is wrong.