Add statistics threads feature