Understand why we should restore branch and count