networkviz: update average number of tuples