Offline
There are plenty of external hit counters that are free. They require you to enter your DNS address URL which means your website has to be visible to the outside world. This javascript that was posted online goes in the header section of your HTML code and should allow you to have a hit counter on an intranet site: