title: Output a result array with a grouped count of unique elements for a given array
body: <p>If I have an array like this how can I loop through and push the counts into a a new array?<br>
  All help wlcomed!</p>
  
  <pre><code>    var Products = [
      ['Product A'],
      ['Product A'],
      ['Product A'],
      ['Product A'],
      ['Product A'],
      ['Product B'],
      ['Product B'],
      ['Product B'],
      ['Product B'],
      ['Product B'],
      ['Product B'],
      ['Product B'],
      ['Product B'],    
      ['Product B'],
      ['Old Product B'],
      ['Old Product B'],
      ['Old Product B'],
      ['Old Product B'],
      ['Old Product B'],
      ['Old Product]
           ];
  </code></pre>
  
  <p>End Goal :</p>
  
  <pre><code>        var UniqueProducts = [
      ['Product A',5],
      ['Product B',6],
      ['Old Product B',9]
       ];
  </code></pre>