title: Arrays Group Counter
body: <p>Given a provided array, determine how many groups of a specified size exist.</p>
  
  <p>For the array  </p>
  
  <pre><code>[1,1,1,2,2,2,3,3,3,4,5,6,7] 
  </code></pre>
  
  <p>there are 7 groups with at least one, 3 groups with at least 2, and 3 groups with at least 3.  A group is a series of same values. <code>1 1 1</code>  is a group of 3, but it also is a group of 1 and 2.  To count as a group, all values must be the same. <code>1 1 1</code> is a group of 3 because there are 3 1s in a row. </p>
  
  <p>I'm just curious, how would this be done? </p>