increments numElem of nodes in from_array