public static function count_rate_row_by_id($id) { return UserRating::where('id_user', '=', $id)->count(); }