Result.Max (gb.db)

Property Read Max As Integer

Returns Result.Count - 1 (as long as the count is >= 0, otherwise -1 is returned).