I love Strings by Mail -- they have a great inventory of strings (LOTS of flatwound and classical strings) and offer terrific customer service. Give them a try. https://www.stringsbymail.com/
How to count files in a directory using Ruby - Stack Overflow https://stackoverflow.com/questions/6773413/how-to-get-files-count-in-a-directory-using-ruby