Outputs the length of each string in the array