What doesn't output? If just the counter doesn't output it would be because your path to the cgi-bin had the leading slash so it is an absolute path. Have you made sure that the script executable and the log file or whatever it is that the script uses is writable?
<!--#printenv -->is the part that should give some output regardless of the script (its an include type html thing tthat should disply the environment paramaters