title: Element Query to retrieve top number of elements
body: <p>I know that there is a firstMatch variable which can be used to get the first element the query finds. 
  However, I can't find anything to retrieve the first or top number of elements found. </p>
  
  <p>For now, I've been taking in the whole array using allElementsBoundByIndex and just iterating through the number i need. </p>
  
  <p>If there isn't a way to easily get the top elements, how can I optimize that?</p>
  
  <p>Edit: 
  This is the code I'm using to handle it. </p>
  
  <pre><code>var listOfCells = app.cells.matching(predicateIDStartsWith(string)).allElementsBoundByIndex
  while 0&lt;listOfCells.count {
      let reply = handler(listOfCells.removeFirst())
      if reply &gt; 0 {
          return reply
      }
  }
  </code></pre>