Added session count and session information to the diagnostics. Fixes #1...

...267