[Silviu] calculate failed sum