add ldb counter
counter