Added code to print the length of the story.