Count active sessions by listing keys instead of keeping track in a set.