1 | initial version |
One method to obtain the number of items in a selection is to use the .length property. For example, if the selection is stored in a variable called "selectedItems", the number of items in the selection can be obtained by calling selectedItems.length.