I suspect we'll need a bit more detail about the requirements/needs. I'm not sure if you're talking about something like the number_format() function, simple arithmetic, or string concatenation.
I'm saying it as example, If I'm passing some value, that value need to Add in that counter, Initially it is like 0000000000.
#functionality is here
Finally, the output will be like, 0000003479.