Add countNetworkCategories in LuceneLoggerTest