Implemented win counter.