OS X 10.10 and later only. This script will create a text file listing the Artists in your Music library sorted by their tracks' total Plays.
Perhaps Also of Interest...
downloaded 5m 48s ago
Copy chosen tag info from one set of tracks to a different set of tracks
downloaded 7m 17s ago
Title Cap various track tags, featuring editable exceptions lists
downloaded 29m 50s ago
Set Last Skipped date of selected tracks to today or today minus your number of days.
downloaded 33m 47s ago
Delete files downloaded and cached by Apple Music
downloaded 35m 23s ago
Export selected playlists as individual XML or M3U files
downloaded 36m 26s ago
Remove iTunes tracks disassociated from files