add simple unit counter on index