count_edges function

Count number of edges of a brain graph