Policz CPT WP
$count_posts = wp_count_posts( 'jobs' )->publish;
Andrew Lautenbach
$count_posts = wp_count_posts( 'jobs' )->publish;