num vertices + edges