The update count in DocumentRootBuilder increases with the number of changes in memory when rebase() is called. The update count should stay the same because a rebase does not affect the number of in-memory changes.
This may lead to premature creation of a branch when pending changes are rebased too often. E.g. when Node.isLocked() is called frequently.