Returns some statistics when rating an object using ajax request