Tally of number of tracks open?

Where (if anywhere) does Audacity show a tally of number of tracks open? This would be useful for a project with many segments, each in its own track.

“Get Info” from the “Scriptable II” menu can give you a list of tracks.
https://manual.audacityteam.org/man/extra_menu_scriptables_ii.html

For a “human readable” version, select the “Brief” Format option.


If you only want the number of tracks, run this little script in the Nyquist Prompt

(print (length (aud-get-info "Tracks")))