Add an allnodes_size method.