adding wmcounter