publish: Prevent double-couting on meter.

generated from commit 2759a53bdd35507fbcbf3078e9a4f91d4362792b