@covers \Symfony\Component\HttpFoundation\Session\Session::count
public function testGetCount() {
$this->session
->set('hello', 'world');
$this->session
->set('symfony2', 'rocks');
$this
->assertEquals(2, count($this->session));
}