title: How to count the number of <li> returned through ajax using Javascript?
body: <p>I have a ajax code which returns the list items as</p>
  <pre><code>&lt;li&gt;one&lt;/li&gt;
  &lt;li&gt;Two&lt;/li&gt;
  </code></pre>
  <p>Each time it will return different number of <code>&lt;li&gt;</code>'s. I want to check the number of <code>&lt;li&gt;</code> it returns. How to check it using JavaScript.</p>