Number of Good Leaf Nodes Pairs