code: func countEdges(el edgeMap, cutoff int64) int {
  	count := 0
  	for _, e := range el {
  		if e.weight > cutoff {
  			count++
  		}
  	}
  	return count
  }
docs: // countEdges counts the number of edges below the specified cutoff.