The Direct3dRMArray Class contains the following method:
getSize retrieves the number of objects associated with this array object.