The number of INTERNAL nodes in the binary tree that have exactly two children is calculated as : number of leaf node -1.
you can verify it by some eg.
so for 100 node number of INTERNAL nodes that have exactly two children are 99.