Implement size on tree.