private int SumLeafNode(Node node) {
Stack<Integer> st = new Stack<Integer>();
if (node == null) {
return 0;
}
SumLeafNode(node.left);
if (node.left == null && node.right == null) {
st.push(node.data);
}
SumLeafNode(node.right);
return st.size();
}