hi. the variable you want to play with is dt.
So an example like:
global number : TIME_MAX = 10
every tick | subtract dt from TIME_MAX
would be a countdown starting at 10 minus time passed.
You can modify it by including a multiplier for dt like 0.5*dt is slower by a factor of 2. You get the idea