The sum of the number of pair of parallel line segments and the number of intersecting line segments in given figure is ___________.