# How to count Albums

**URL:** https://community.mp3tag.de/t/how-to-count-albums/55350
**Category:** Support
**Created:** [December 3, 2021, 10:51am UTC](https://community.mp3tag.de/t/how-to-count-albums/55350 "2021-12-03T10:51:33Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [December 4, 2021, 11:23am UTC](https://community.mp3tag.de/t/how-to-count-albums/55350/14 "2021-12-04T11:23:48Z")

</div>

> [@reddwarf4ever](#):
>
> Thanks, is this to be used in the file export option ?

> [@Count total number of albums](https://community.mp3tag.de/t/count-total-number-of-albums/12486/2):
>
> `$filename(mp3.txt)$loop(%album%,1)$if($eql($strstr(%_extension%,mp3),0) ,,%_counter% - %album%) $loopend()`

Maybe this one can help you to understand [what poster already wrote step by step](https://community.mp3tag.de/t/how-to-count-albums/55350/10) and what you find in the linked export-help:

![Mp3tag - Create Export2 script](https://community.mp3tag.de/uploads/default/original/2X/a/a882316215e1c9550d14fb92ae0b89eaea1ef6bc.gif)

---

_[View the full topic](https://community.mp3tag.de/t/how-to-count-albums/55350)._
