how many line segments is in 4 vertices