Even though difference object is available and user can find the edited/removed/inserted line count, showing number of lines modified on viewer would be a good idea.
I am thinking of an optional prop to show/hide the stats of the memoized difference.