Add countTypeCategories to LuceneLoggerTest