Added statistic class for rating calculus