Gets the maximum size of the collection (the bound).
the maximum number of elements the collection can hold