title: How to invert logic on recursive calls?
body: <p>How to invert logic on recursive calls?</p>
  <p>I have this solve that counts the number of recursive calls. It's working properly. But how can I invert the logic to count number</p>