If you need to know what the number of outgoing edges per node is, you can add a reduce over the edges where you build the adjacency list: (source-id, targat-ids[])