add visit counter to templates (excluded in git)