Hi there,
if you want to add that kind of data to your design, you will need to create a shortcode that you can add to your site.
1. Add this PHP Snippet to your site:
// Add Shortcode to show posts count inside a category
function category_post_count( $atts ) {
$atts = shortcode_atts( array(
'category' => null
), $atts );
// get the category by slug.
$term = get_term_by( 'slug', $atts['category'], 'category');
return ( isset( $term->count ) ) ? $term->count : 0;
}
add_shortcode( 'category_post_count', 'category_post_count' );
2. In a GB Headline block add the shortcode ie. [category_post_count category="category_slug_or_name"]
Where it says the category_slug_or_name change that to the term slug that you want to display the count for.
For reference and kudos, this is where that code came from:
https://wordpress.stackexchange.com/a/240763