@Override
	public void addLayoutModelListener(LayoutModelListener listener) {
		listeners.add(listener);
	}
Returns the total number of valid indexes.
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerLayoutModel.java