added the thread migration counter.