title: How to count identical string elements in a Ruby array
body: <p>I have the following <code>Array = ["Jason", "Jason", "Teresa", "Judah", "Michelle", "Judah", "Judah", "Allison"]</code></p>
  
  <p>How do I produce a count for each <strong>identical element</strong>? </p>
  
  <pre><code>Where:
  "Jason" = 2, "Judah" = 3, "Allison" = 1, "Teresa" = 1, "Michelle" = 1?
  </code></pre>
  
  <p>or <strong>produce a hash</strong> Where:</p>
  
  <p>Where:
      hash = { "Jason" => 2, "Judah" => 3, "Allison" => 1, "Teresa" => 1, "Michelle" => 1 }</p>