add the attribute to show the number of deltas/patches in one diff

diff.size returns the number of deltas/patches of one diff