i think exact number of leaf nodes is somewhat hard here. what we can do is can find upper bound and lower bound .
upperbound - the greater function is n/2. so if we draw the tree of the function it will half full . for upperbound consider it to be fuly filled . and as n/2 is going till the end .
height of tree will be logn base 2 . taking only n/2 in consideration.
no . of leafs at height h =2^logn base 2 which will be equal to n.
lower bound . consider it fully filled by taking n/4 in consideration.
so no of leafs in that case = 2^logn base 4
n^0.5
no of nodes will be betwen n^0.5 to n .