title: Flexslider count the slides on each slider
body: <p>I am using Flexslider to create several sliders on a page. It's a Wordpress so the posts are created dynamically. I'm counting the slides with the callback function and this line:</p>
  
  <pre><code>$('.promo-image-counter').text(slider.count);
  </code></pre>
  
  <p>but of course it changes the text on all of the image counters (all of the sliders show the number of slides from the last slider), I need to count the slides on each slider individually.</p>
  
  <p>My code so far:</p>
  
  <pre><code>$(".slider-promos").flexslider({
          animation: "slide",
          controlNav:false,
          touch:true,
          start: function(slider){
            $('body').removeClass('loading');
            $('.promo-image-counter').text(slider.count);
            $('.slides li img').show();
          }
   });
  </code></pre>