counter add + logs