This script is designed for and has been tested under Linux. It could probably be easily modified to run on a Macintosh with MacPerl as well. It could likely be modified to run on a Windows machine as well, but we haven't tried it.
Configuration is relatively painless.
You will find a note inside each script explaining what values you need to edit. The first file is the count.pl script. This is the script that will actually keep track of the counts for each web page. The second file is the showcount.pl script. This is the script to use if you want to display all of your page counts on a single web page for quick referencing.