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