Counting script?

Hi, just signed up. thanks for welcoming me as a newbie!

I would like to create a counter like the one at the bottom of this page.
Not just the timer but also how it would update the number of transaction received, which you can see in the smaller print above days/hours/minutes/seconds?