How efficient is this algorithm?

Tick works, yeah. You (I) can’t run a timer of it, sadly. But if you tick, you can count.