This method of the Device Class retrieves the number of planes used by the device.
public int getPlanes();
Returns the number of planes.