counter for inMemoryService
change package for config