You can either write one since its very simple such as out.php?siteurl=(site url) and each time the file is called ADD 1 to the siteurl from the mysql database but these kind of things can be cheated easily. If you want one with alot of features to prevent cheating but still the same concept try these Top Site Scripts