public int getDrawCommandsCount() {
        if (drawCommandsBuilder_ == null) {
          return drawCommands_.size();
        } else {
          return drawCommandsBuilder_.getCount();
        }
      }