add counter on footer