COUNT thing outputs the number of characters in the input, if the input is a word; outputs the number of members or elements in the input, if it is a list or an array. (For an array, this may or may not be the index of the last element, depending on the array's origin.)