Create counter.txt