count total saved bytes