fix(TotalPages): SpringHateoas PageMetadata do a wrong calculation of this value