I assumed you wanted to REPLACE this:
<div id="counter">The contends of this DIV tag will be replaced by the counter</div>
So I gave you an example <a> that you would use IN PLACE of that <div>.
If you need the <div> for some other reason, then just leave it there and put my <a> inside the <div>.
Other stuff you need in this div
<a id="DAYLINK" href="/tagged/DAY-1/"> Today's link </a>
More stuff to stay in the div