Check out the links it should make thinks a bit clear :-? :-?
http://www.msgroup.org/TIP048.html
http://www.vf750fd.com/blurbs/counter.html