(First i will need some more explenation.)
1) A little scheme of how it should look visual + some more explenation, because only understood the concept of counting clicks
2) Do you have a database for the counting? or will there be a file on the server to get track of all the clicks? (can't make use of coockies and sessions because they 're on the clients device and not on the server of the host)
( 10 days => i don't really know what's needed so i took some space, as i see it now it is possible in 1 day)