How to display the number of articles published per user excluding users who do not publish articles. My message type is recipe. I would like to receive a code to get there in wp-query
thank you very much for your help

I give you a piece of code.
Thanks to this code I am able to display the total number of recipes, but I would have liked to have this:
 User A posted 14 cooking recipes, User B posted 2 cooking recipes


    <?php   $args = array(     'post_type' => 'recette' );  $my_query = new WP_Query( $args );  echo $my_query->found_posts . " articles trouvés";   ?>

[![enter image description here][1]][1]


  [1]: https://i.sstatic.net/raN6Z.jpg