Get first start and n-values for pagination