def size(self, weight=None):
        s=sum(self.degree(weight=weight).values())/2
        if weight is None:
            return int(s)
        else:
            return float(s)
We get here from /jobs/job/tasks?filterargs, with the options being:
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/classes/graph.py/Graph.size--crossover with--dataset/ETHPy150Open cloudera/hue/apps/jobbrowser/src/jobbrowser/views.py/tasks