title: Div class name with $count; in wordpress loop
body: <p>I need to add a $count; after classname to a post div inside a loop. Example of meaning:  - so classes for posts will be mypost1, mypost2...</p>
  
  <p>I go this working fine, but I don't know how to add $count after classname.</p>
  
  <pre><code>&lt;?php $count = 0; if ( have_posts() ) : while ( have_posts() ) : the_post(); $count++; ?&gt;
  &lt;div class="mypost"&gt;...&lt;/div&gt;
  &lt;?php endwhile; endif; ?&gt;
  </code></pre>