title: Python: display the number of one's in any user given integer number
body: <p>How do I display the number of one's in any given integer number?</p>
  
  <p>I am very new to python so keep this in mind.</p>
  
  <p>I need the user to input a whole number.</p>
  
  <p>Then I want it to spit out how many one's are in the number they input.</p>
  
  <p>i am using python 3.3.4</p>
  
  <p>How would I be able to do this with this following code?</p>
  
  <pre><code>num = int(input ("Input a number containing more than 2 digits"))
  count = 0
  for i in range (0):
      if num(i) == "1":
          count = count + 1
  
  print (count)
  </code></pre>
  
  <p>I don't know what i'm doing wrong
  it gives me 'int' object is not callable error</p>