mds: Fix Session::get_request_count

Signed-off-by: John Spray <john.spray@redhat.com>