Probably a CGI script updates a counter in a file.
Did FUSE exist yet? You could hack it up in userspace...
(Have the HTML on a FUSE filesystem, and every time it gets a read it updates the HTML)