Joined calculateNumberOfPage into server request