Tree Deletion, count functions.