title: Selenium IDE: Command to check all highlighted elements, count the highlighted elements, and see it if matches with a number
body: <p>Here is the source code:
  When the element is highlighted, it adds "ui-state-highlight" to class=</p>
  
  <pre><code>&lt;div id="entry_1994" class="entry ui-widget-content ui-state-highlight" onfocusout="a();" onclick="if (window.bIgnoreClick===undefined) { clickHandler('entry_1994'); } else { window.bIgnoreClick=undefined; }" style="border: 1px dashed rgb(119, 119, 119);"&gt;
  &lt;script type="text/javascript"&gt;
  &lt;div id="entry_2037" class="entry ui-widget-content" onfocusout="a();" onclick="if (window.bIgnoreClick===undefined) { clickHandler('entry_2037'); } else { window.bIgnoreClick=undefined; }" style="border: 1px dashed rgb(119, 119, 119);"&gt;
  </code></pre>
  
  <p>There are a lot more of these. I want to check all of these elements and see if they are highlighted, if they are highlighted, I want to store or count these highlighted elements and compare it with a number.</p>
  
  <p>For example, there are 10 of these elements, 5 of them are highlighted, so the 5 should compare it to the number I have.
  There are 10 of these elements, 7 of them are highlighted, so the 7 should compare it to the number I have.</p>