added counter on index page