title: Count the digits in a number
body: <p>I have written a function called <code>count_digit</code>:</p>
  <pre><code># Write a function which takes a number as an input
  # It should count the number of digits in the number
  # And check if the number is a 1 or 2-digit number then return True 
  # Return False for any other case
  def count_digit(num):
      if (num/10 == 0):
          return 1
      else:
          return 1 + count_digit(num / 10);
  
  
  print(count_digit(23))
  </code></pre>
  <p>I get <code>325</code> as output. Why is that and how do I correct it?</p>