Application.lock();
if(Application["count"] == null)
{
Application["count"] = 1;
}
else
Application["count"] += 1;
Application.unlock();