counters in one script tag