fix wrong edge count display when cycle count = 0.