This method of the Direct3dRMArray Class retrieves the number of objects associated with this array object.
public int getSize();
Returns the number of objects.