private int getToolInstanceCount(PluginTool tool) {
		List<PluginTool> list = namesMap.get(tool.getToolName());
		if (list == null) {
			return 0;
		}
		return list.size();
	}
Get the key for the connection map.

@param producer tool producing an event
@param consumer tool consuming an event
Ghidra/Framework/Project/src/main/java/ghidra/framework/project/tool/ToolManagerImpl.java