validateEntryCount(platform, statusPath, null, 1, "status", true);
BasePath contentPath = platform.makePath(curLoopDirPath, CrawlConfig.CONTENT_SUBDIR_NAME);
validateEntryCount(platform, contentPath, FetchedDatum.FIELDS, 1, "content", false);
crawlDbPath = platform.makePath(curLoopDirPath, CrawlConfig.CRAWLDB_SUBDIR_NAME);
validateEntryCount(platform, crawlDbPath, null, 3, "crawldb", true);
// run the second loop
curLoopDirPath = CrawlDirUtils.makeLoopDir(platform, workingDirPath, 2);
flow = DemoWebMiningWorkflow.createWebMiningWorkflow(platform, crawlDbPath, curLoopDirPath, fetcherPolicy, userAgent, options);