title: Understand series in collection during iteration
body: <p>Let's say we have the following array:</p>
  
  <pre><code>%w(apple apple apple banan orange orange tomato orange apple apple)
  </code></pre>
  
  <p>Could I output, while iterating over the collection, "here comes 2 oranges" or "these were 2 oranges"?</p>
  
  <p><strong>Update</strong><br>
  There could be more occurances of the same item in the collection, but what I'm concerned about is the series - how many there are one after another when they are of the same kind.</p>