add [[cms::thread_safe]] to empty struct statCount