Count the number of edges (#5072) - Basecamp