original_string: public function getRowsCountRecursive()
      {
          $totalCount = 0;
          foreach ($this->rows as $row) {
              $subTable = $row->getSubtable();
              if ($subTable) {
                  $count = $subTable->getRowsCountRecursive();
                  $totalCount += $count;
              }
          }
  
          $totalCount += $this->getRowsCount();
          return $totalCount;
      }
code: public function getRowsCountRecursive()
      {
          $totalCount = 0;
          foreach ($this->rows as $row) {
              $subTable = $row->getSubtable();
              if ($subTable) {
                  $count = $subTable->getRowsCountRecursive();
                  $totalCount += $count;
              }
          }
  
          $totalCount += $this->getRowsCount();
          return $totalCount;
      }
code_tokens: public function getRowsCountRecursive ( ) { $ totalCount = 0 ; foreach ( $ this -> rows as $ row ) { $ subTable = $ row -> getSubtable ( ) ; if ( $ subTable ) { $ count = $ subTable -> getRowsCountRecursive ( ) ; $ totalCount += $ count ; } } $ totalCount += $ this -> getRowsCount ( ) ; return $ totalCount ; }
docstring: Returns the number of rows in the entire DataTable hierarchy. This is the number of rows in this DataTable
  summed with the row count of each descendant subtable.
  
  @return int
docstring_tokens: Returns the number of rows in the entire DataTable hierarchy . This is the number of rows in this DataTable summed with the row count of each descendant subtable .