How many ways are there to get into a tree?