Query Users by post count, last 30 days and display each users post count according to post type
count_user_posts() doesn’t support the second parameter ($post_type in your code), according to the docs. There is a function at the bottom of the docs page that allows you do filter by post_type, you could drop in functions.php and use.