Query/list all terms and their custom post count

If the taxonomies in question are used ONLY in the post_type in question, then the following simple function will do what you need:

function
count_term_use ($post_type)
{
    $args = array (
        'taxonomy' => get_object_taxonomies ($post_type, 'names'),
        ) ;
    foreach (get_terms ($args) as $term) {
        echo "$term->name - $term->count\n" ;
        }

    return ;
}

However, if a taxonomy is shared by multiple post_type’s then the above counts will reflect the total number of posts of any type that use the term, which is not what you’re looking for. If that is true in your case, let me know and I’ll post the more complicated (and expensive in terms of execution time/db queries) code.