code: def compute_number_edges(function):
      
      n = 0
      for node in function.nodes:
          n += len(node.sons)
      return n
docs: Compute the number of edges of the CFG
      Args:
          function (core.declarations.function.Function)
      Returns:
          int