How to Show Draft Post Count in WordPress Category Table List

Add code below to your theme functions.php file

function add_category_column_content($content,$column_name,$term_id){
    //$term= get_term($term_id, 'category');
	$a=array('category'=>$term_id,'post_status' => 'draft');
	$post = get_posts($a );
    switch ($column_name) {
        case 'draft_count':
            //do your stuff here with $term or $term_id
            $content = count($post);
            break;
        default:
		    $content = '0';
            break;
    }
    return $content;
}
add_filter('manage_category_custom_column', 'add_category_column_content',10,3);
function add_category_columns($columns){
    $columns['draft_count'] = 'Draft';
    return $columns;
}
add_filter('manage_edit-category_columns', 'add_category_columns');

,