SP.EnumerableArray.count Property
Applies to: SharePoint Foundation 2010
Gets the number of defined elements in the SP.EnumerableArray object.
var value = SP.EnumerableArray.get_count();
Property Value
Type: Int32
The number of defined elements in the SP.EnumerableArray; zero if there are no elements in the array.