The number on any edge is called the weight of that graph. They are the number of paths from one node to another.