emit 0 on the 2nd iteration like datcounter plugin