publish: map aftercount change

generated from commit d7b823dc7ffd247cdeed3bf43c1c0090c9f3382a