I am writing an application where would like to make a list where a user could select the file to load. But I cant figure out the count of recordstores returned to a string array

String [] Files = RecordStore.listRecordStores();

question how to determine how many strings are in Files?

or do you have to catch an exception or???