[sr-dev] add script counter.