Make countdown work with seconds, minutes and hours