$query_options = array( 'post__in' => get_option('sticky_posts'), 'meta_query' => array( array('key' => '_thumbnail_id') ) ); $stickies = new WP_Query( $query_options ); echo "
post_count is $stickies->post_count and found_posts is $stickies->found_posts
"; if( $stickies->have_posts() ): ?>