Thank you :)
It spawns 1 coin per second, so if you need more upgrades to pass next round, you pay for it with the time you spend running around. If you dont need as many coins, you can complete levels faster. I see it as a "pick your own difficulty/pace" system :P