Why not ask the node to tell you its size?