tracking sessions with a simple counter