creat CounterThreadDemo class