public int getNumberOfRanges() {
		return list.size();
	}
Get the number of byte block ranges in this selection.

@return the number of (disjoint) ranges
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/format/ByteBlockSelection.java