public long patchCount() {
		return steps.totalPatchCount();
	}
Compute the number of patches, excluding p-code patches

@return the number of patches
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/time/schedule/TraceSchedule.java