Create counter.sh