Using Count()

Counters
Visitors to this page so far: 7012

Clicks on:
button 1: button 2action
button 2: 18
button 3: 13
Say Hello: 11
Say Bye: 0

Here are the contents of 'default.asp':
<!-- The includefile is one level back from the "default.asp" file: -->
<!--#include file ="../../jakes_IO.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="da">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Example use of the Count function</title>
    <link rel="stylesheet" type="text/css" href="/jake.css">
</head>
<body>
    <div align="center"><h1>Using Count()</h1></div>
    
    <B>Counters</b>
    <br><span style="display:block;border:1px solid black;background:#DFE;padding:10px;font-size:11px;">
    <b>Visitors to this page so far: <%=count("page")%></b>
    <%     count(request.querystring("action")) %>
    <p>Clicks on:
    <span style="font-size:11px;">
    <br>button 1: <%=getCounterValue("Button 1")%>
    <br>button 2: <%=getCounterValue("Button 2")%>
    <br>button 3: <%=getCounterValue("Button 3")%>
    <br>Say Hello: <%=getCounterValue("Say Hello")%>
    <br>Say Bye: <%=getCounterValue("Say Bye")%>
    </span>
    </span>
    
    <form method="get" action="default.asp?action=button1">
        <input type="submit" name="action" value="Button 1">
        <input type="submit" name="action" value="Button 2">
        <input type="submit" name="action" value="Button 3">
        <input type="submit" name="action" value="Say hello">
        <input type="submit" name="action" value="Say bye">
    </form>
    
    <p><b>Here are the contents of 'default.asp':</b>
    <br><span style="display:block;border:1px solid black;background:#FDE;padding:10px;font-size:11px;">
    <%
        response.write(stringToHTML(getFileContents("default.asp")))
    %>
    </span>


</body>
</html>