Update counter.sh