maxSize(): Integer;
The maxSize method of the ExternalCollection class returns the maximum number of entries that an external collection can contain.
Use the maxSize64 method instead of the maxSize method as the number of entries in the collection exceeds the maximum integer value of 2,147,483,647.