@Override
	public Set<String> getNextIndices(KeyPath path) {
		if (path.size() >= pattern.size()) {
			return Set.of();
		}
		if (!matchesUpTo(path, path.size())) {
			return Set.of();
		}
		String pat = pattern.key(path.size());
		if (KeyPath.isIndex(pat)) {
			return Set.of(KeyPath.parseIndex(pat));
		}
		return Set.of();
	}
Count the number of wildcard keys in this pattern

@return the count
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/target/path/PathPattern.java