public int size() {
		int sum = 0;
		for (DBTraceCodeSpace space : manager.getActiveMemorySpaces()) {
			sum += getView(space).size();
		}
		return sum;
	}
@see TraceBaseCodeUnitsView#size()
@return the number of defined units
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/listing/AbstractBaseDBTraceCodeUnitsMemoryView.java