This is a very simple demonstration of the Page Counter Object.
<%
Set MyPageCount = Server.CreateObject("MSWC.PageCounter")
HitMe = MyPageCount.Hits
if HitMe = 1000000 then
%>
You are the lucky 1,000,000th Customer!!!
<% else %>
Sorry, you are only customer #<%=HitMe%>
<% end if %>