(add) calculate rating. handle some errors: user category, exercises count maximum