CountShortestPaths working