Return and then increment value

@mochnatiy please check you proposal.
IMHO yes, because 0 as default is useless.