Implemented method that determines what global count should be used when rebasing.