FANDOM


Syntax

COUNT word or list

Explanation

COUNT outputs the number of elements in its input. If its input is a word, COUNT outputs the number of characters. If the input is a list, COUNT outputs the number of elements in the list.

Examples

? COUNT "ELEMENTARY

Result: 10

? COUNT [ELEMENTARY]

Result: 1

? COUNT [[MT. WASHINGTON] [MT. RAINIER] [MAUNA LOA]]

Result: 3

?