Stack.Size (gb.data)

Property Read Size As Integer

Returns the number of elements in the Stack.