I am looking for a script that will gather all of my artists in iTunes that have less than X number of tracks in my library. I have no clue of how to write this, and I checked on the Doug's applescript website and I could not find anything.

Any help would be great.