Adding "totaltracks" tag en mass?

Use Mp3tag.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

Elaborated ...

Select one file in the Mp3tag file list view.
Open the dialog 'Mp3tag/Actions/Actions/Action Groups'
Click the button 'New'.
Follow the further dialogs.

See also ...
How do I create a new action?
/t/967/1

Create the following Action Group

Begin Action Group Format TRACK#Set TOTALTRACKS

Action #1
Actiontype 5: Format value
Field ______: TOTALTRACKS
Formatstring: %_total_files%

End Action Group Format TRACK#Set TOTALTRACKS (1 Action)

Save all changes.

How to apply the action group?
Select the group of tracks, which should receive the tag-field TOTALTRACKS with the same value.
Apply the newly created Action Group right away from the dialog 'Action Group' or invoke the new user defined action via the main menu, dialog 'Mp3tag/Actions' from the submenu 'Format TRACK/Set TOTALTRACKS'.

See also ...
Tracknummer 3-stellig mit führenden Nullen

Here is a new zip package including an updated set of TRACK and TOTALTRACKS related actions ...
[20110713.Format_TRACK.mta.zip ( 2.27K ) Number of downloads: 71]
Unzip all files into a temporary folder and execute the cmd file to copy all mta files into the related Mp3tag folder.

DD.20110713.0650.CEST

Edit.
Actions ...
Format TRACK#Set TRACK fix 001⁄001
Format TRACK#Set TRACK fix 001
Format TRACK#Set TRACK fix 01⁄01
Format TRACK#Set TRACK fix 01
Format TRACK#Set TRACK var (0)1⁄1
Format TRACK#Set TRACK var (0)1
Format TRACK#Set TRACK var 1⁄1
Format TRACK#Set TRACK var 1
Format TRACK#TOTALTRACKS set from selected files
Format TRACK#TRACK format 1⁄11 to 01⁄11
Format TRACK#TRACK⁄TOTALTRACKS merge into TRACK
Format TRACK#TRACK⁄TOTALTRACKS split from TRACK

[20130106.Format.TRACK.mta.zip ( 3.71K ) Number of downloads: 59]
Unzip all files into a temporary folder and execute the cmd file to copy all mta files into the related Mp3tag folder.
DD.20130106.1340.CET

Added action ...
Format TRACK#TRACK format 01.01 to 1.1

20131223.Format.TRACK.mta.zip (3.98 KB)
DD.20140120.1627.CET

20131223.Format.TRACK.mta.zip (3.98 KB)