Added a session-based visit counter.