Fixed the problem with the counter, will try it out tomorrow