Here’s a Countdown timer programmed by UEZ. He kindly commented the heck out of it so others can learn from it.
It will accept two command line parameters: the countdown time and a scaling factor (if you wish to make it smaller). See the comments.
If you wish to read about its origins and some...