prefer prefix ++ for counters

Merged Gerhard Raven requested to merge fix-gaudi-head into master

Make code compatible with gaudi/Gaudi!1258 (merged)

Edited by Gerhard Raven

Merge request reports