private int getOpenFileCount() {
		List<DomainFile> openFiles = new ArrayList<>();
		project.getProjectData().findOpenFiles(openFiles);
		TransientDataManager.getTransients(openFiles);
		return openFiles.size();
	}
Called from the project action manager when the connection state changes on the
repository.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/ProjectInfoDialog.java