To determine the number of elements in a collection-class instance, you send it the size message.
size