Annotate functions with edge counts as well, if they are available.