# Action to get number

**URL:** https://community.mp3tag.de/t/action-to-get-number/51032
**Category:** Support
**Created:** [December 3, 2020, 8:16pm UTC](https://community.mp3tag.de/t/action-to-get-number/51032 "2020-12-03T20:16:07Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [December 3, 2020, 8:19pm UTC](https://community.mp3tag.de/t/action-to-get-number/51032/2 "2020-12-03T20:19:46Z")

</div>

there is the special variable %\_counter% that returns an ascending number sequence for each of the currently selected files.  
It does not quite work like the track numbering assistant as there is no trigger to reset the counter.  
use %\_counter% in a format string, e.g. an action of the type "Format value".

---

_[View the full topic](https://community.mp3tag.de/t/action-to-get-number/51032)._
