title: List all the words in a text file with occurrence counts?
body: <p>Suppose I have file <code>text.txt</code> as below:</p>
  
  <p><code>she likes cats, and he likes cats too.</code></p>
  
  <p>I'd like my result to look like:</p>
  
  <pre><code>she 1
  likes 2
  cats 2
  and 1
  he 1
  too 1
  </code></pre>
  
  <p>If putting <code>space , .</code> into it would make the scripts easier, that would be fine.</p>
  
  <p>Is there a simple shell pipeline that could achieve this?</p>