Hi.
You can do this:
-change the <a href=...> tag for your link to
Code:
<a href="www.site.com/script.php?goto=The_link_you_want">
-create a database table with phpmyadmin with 2 int fields(ID, clicks)
-in the php script, each time the script is accessed and the URL is the one you want, run the sql query
Code:
update table_name set clicks=clicks+1 where id=ID_HERE
I hope you understood, it's quite simple.
There must be free scripts that do this, even without databases