Adding counter