added counter on page