int size()
The following example returns the number of elements in the array items.
int size = items.size();