I use WP_Query to get posts by comment count
$aArgs = [ \'posts_per_page\' => 20, \'post_status\' => \'publish\', \'post_type