output number of packages before topologic list