There are many ways to count number of active visitors on your ASP.NET website.
They differ in technique and accuracy. But this is the simpliest one by creating a Global.asax file. To do this;
Here is the link that will tell you how you can accomplish it.
How to show online visitors for ASP.Net[
^]
Good luck,
OI