added count script