title: How do I use WebdriverIO (wdio) to get the number of times an element appears?
body: <p>I'm trying to make an interaction test for my javascript code using WebdriverIO (wdio).</p>
  
  <p>I want to test a delete node functionality by checking the number of times a selector appears before and after my delete function and seeing that it was decremented by one.</p>
  
  <p>How do you use wdio to find the number of times a selector appears on a page?</p>