Show albums count within a tag

Hello,
Would it be possible to get the count of albums belonging to an specific tag?
I’m tagging each album with different tags (i.e Gardening) and I would like to show a tag cloud like ‘Gardening (3)’

It would essentially show how many albums are using this specific tag (i.e 3)

This is how I’m showing the tags:

<?php $tags = $photographyPage->children()->listed()->pluck('tags', ',', true);
  foreach ($tags as $tag): ?>
    <li class="button" data-filter=".<?= (str_replace(' ', '-', strtolower($tag))) ?>">
      <?= $tag ?>
      <span>()</span>
    </li>
  <?php endforeach ?>

Thank you

Yes, by filtering the pages collection and counting the results:

<?php 
$photographyPages = $photographyPage->children()->listed();
$tags = $photographyPages->pluck('tags', ',', true);
  foreach ($tags as $tag): ?>
    <?php $tagCount = $photographyPages->filterBy('tags', $tag, ',')->count(); ?>
    <li class="button" data-filter=".<?= (str_replace(' ', '-', strtolower($tag))) ?>">
      <?= $tag . '(' . $tagCount . ')' ?>
      <span>()</span>
    </li>
  <?php endforeach ?>