You need to delay the execution between each one if you want it to be an a 5 second countdown. I would suggest that you search for other plugins or posts that use/talk about making a countdown.
FYI, you can post your code in your post using the [code][/code] or [php][/php] tags if it is short code like yours.