WIP - basic counter WM resource. Needs common code refactor