added counter to homepage