I'm writing a function to upload a csv file and put each record into an array. However I want to count how many records I have when I put the data into the array. Count only returns how many fileds are in the array - I want to know how many records are in the array. How can I do this?