title: GroupBy and count the unique elements in a List
body: <p>I have a list that contains only strings. What I would love to do is group by and return a count.</p>
  
  <p>For instance:</p>
  
  <pre><code>Foo1
  Foo2
  Foo3
  Foo1
  Foo2 
  Foo2
  </code></pre>
  
  <p>Would result in Foo1: 2, Foo2: 3, Foo3: 1. I've tried with Linq but the list has a GroupBy that might do the trick but i messed it up, can't figure the use :(</p>