title: Ruby Array of Arrays Group and Count by Values
body: <p>I'm trying to get a Ruby Array of Arrays and group it in order to count its values.</p>
  
  <p>The Array has a month, and a boolean:</p>
  
  <pre><code>array = [["June", false], ["June", false], ["June", false], ["October", false]]
  </code></pre>
  
  <p>I will like to end with a new Array that let me know how many false vs trues in each month.</p>
  
  <p>Example: (where the first item in the Array is month, the second is the count of false and the third is the count of true)</p>
  
  <pre><code>new_array = [["June", 3, 0]], ["October", 1, 0]]
  </code></pre>