WIP counters. Should not be in the thread-spawned handler.