Fixed MongoCursor count() test