Nombre d'éléments WP_Query
<?php $count = $custom_posts->found_posts; ?>
Wandering Walrus
<?php $count = $custom_posts->found_posts; ?>