Also export the number of routes from each origin.
Fix division problem in small_graph.