Write a method that counts the number of all interior nodes in a tree.
Draft: Make it work on a tree with a root and two leaves.