how i can count from a custom post type the entries?
<ul class="test">
<?php $args = array( 'post_type' => 'schusslersalz', 'posts_per_page' => 30, 'orderby' => 'rand' );
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();
echo '<li>';
the_title('<h3>', '</h3>');
the_content();
echo '</li>';
endwhile; ?>
</ul>
how can i count the entries from "schusslersalz" in a number and display it. I have serch and found the funciton:
$count = $loop->post_count;
how i use this?