I’m a bit unsure of you are actually asking, so apologies if I understood it wrong.
You can use get_category()
to get the category object and then just simply echo the $count
property value
$cat_count = get_category( 'ID OR ROW OBJECT' );
echo $cat_count->count;