code: public function getSql()
      {
          $sql = sprintf(
              "SELECT count(table_name) FROM information_schema.tables WHERE table_schema = '%s' AND table_name = '%s';"
              , $this->table->getSchema()->getName()
              , $this->table->getName());
  
          return $sql;
      }
docs: {@inheritdoc}