Returns the length of the GDB in the current graph mode.
Used internally by cmd_stogdb, there's no point in using gdb_len directly.