The getSize method gets the size of the memory allocated for the collection.
Public
int getSize() const
The size