Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Query

// WP_Query arguments
$args = array(
	'post_type'              => array( 'job_listing' ),
	'post_status'            => array( 'publish' ),
);

// The Query
$query_counter = new WP_Query( $args );