How to count up and countdown with timer

Timer Example