_MapShape.Max (gb.map)

Property Read Max As Integer
Returns the greatest index