Given a binary tree, get the total number of nodes in it.The total number of nodes in the given binary tree is 7.This problem can be solved by recursive traversal.We call 'get_num_of_nodes' recursively for left and right nodes to calculate the solution.