add visit counter