output total bytes