title: java comparator, comparing strings by number of words
body: <p>I need some help with java comparator.  I need to compare strings by the number of words they contain.</p>
  
  <p>For example, "hello" comes before "I see" which comes before "I see you".</p>
  
  <p>Anyone got any ideas how I would do this? Thank you in advance for any help you could give. </p>