This method of the Direct3dRMViewportArray Class retrieves the number of Direct3dRMViewport objects associated with the current Direct3dRMViewportArray object.
public int getSize();
Returns the number of objects.