_MapShape.Count (gb.map)

Property Read Count As Integer
Returns the total of Shapes