Hi;
I am new to this C++ and now, I need some help with Binary Search Tree. So, Can somebody help me to write the following functions?

1. getNodeCount(): Returns the number of nodes in the tree.
2. getLeafCount(): Returns the number of leaf nodes in the tree.
3. getTreeHeight(): Returns the height of the tree.

Here I have attached the BST Template class.

Sombody, please help me out

thanks in advance