length

Returns the number of labels in this collection. This is commonly used with LabelCollection.get to iterate over all the labels in the collection.

See also