you don't need a timer so to say
Yes. I only meant to point out to him that a separate function will run in parallel while counting
the actual implementation depends on the programmer's experience and preference and surrounding code.
This is why I suggested he starts from scratch.
We can give him 10 different ways, but while he's keeping his whole function a secret, nobody can help him but the author of this function...