Count

count [<list/map/string>]

Counts the amount of items in a collection.

Parameters:

  1. The collection to count the items of. This can be a list, a map, or a string. In the case of a map, the amount of keys in the map is returned. In the case of a string, the amount of characters in the string is returned.

Returns: The amount of items in the collection.