title: Python: How to use a while loop and output the correct word count
body: <p>This is what I have so far: </p>
  
  <pre><code>while len(words) != 5:
          words = raw_input("Enter a 5 worded sentence: ").split()
          print "Try again. The word count is:", wordCount
  if len(words) == 5:
          print "Good! The word count is 5!" 
  </code></pre>
  
  <p>The problem is I get this:</p>
  
  <pre><code>Enter a 5 worded sentence: d d d d
  Try again. The word count is: 4
  Enter a 5 worded sentence: d d d d d d 
  Try again. The word count is: 4
  Enter a 5 worded sentence: d d d d d 
  Try again. The word count is: 4
  Good! The word count is 5!
  </code></pre>
  
  <p>When I enter more or less than 5 words, it keeps that word count and doesn't change.</p>