pub fn assert_session_count(json: &Value, expected: usize) -> Result<()>
Assert that JSON output contains expected number of sessions.