Tästä puhutaan nyt
$postsCount = is_countable($topTagsPosts) ? count($topTagsPosts[$tag->term_id]) : 0;
$postsCount = is_countable($topTagsPosts) ? count($topTagsPosts[$tag->term_id]) : 0;
$postsCount = is_countable($topTagsPosts) ? count($topTagsPosts[$tag->term_id]) : 0;