I am not able to understand how to calculate the count in recursion actually because the count that i increase in base case does not reflect after it returns becasue it is a local variable to that function
What should be the approach of calculating count?