DeltaInfoBar deltaInfoBar = DeltaInfoBar.create(res, diffStats, false);
DivElement barsDiv = deltaInfoBar.getView().barsDiv;
Css css = res.deltaInfoBarCss();
int addedBars = barsDiv.getElementsByClassName(css.added()).getLength();
int removedBars = barsDiv.getElementsByClassName(css.deleted()).getLength();
int modifiedBars = barsDiv.getElementsByClassName(css.modified()).getLength();
int unmodifiedBars = barsDiv.getElementsByClassName(css.unmodified()).getLength();
// verify the total count