The srcipt NS Sessions is a Counters script (easily installable web counter).
NS Sessoins is a simple script with mySQL backend, which shows you how many users are active within a number of minutes (specified by you in config file). Example is included.