Gets the depth of a Node.
If this is null the depth is 0. The root node has a depth of 1. For the children of the root node the depth is 2. And so on.
a Node
the depth of the Node