Returns the size of a collection.
Parameter 1 - a collection or array.
Returns: the number of elements in the collection.