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