Add node count
Update count when merging.