title: Counting elements with the same selector in webdriver.io
body: <p>I am using <a href="http://webdriver.io/" rel="noreferrer">webdriver.io</a> with chai and mocha for testing.</p>
  
  <p>In one of my tests I need to count how many elements with the same CSS class are in the page. None of the <a href="http://webdriver.io/docs.html" rel="noreferrer">webdriver.io API</a> seems to return an array.</p>
  
  <p>How can it be achieved?</p>