The length property is used to get the number of URLs in the history list. Using the length property of the History object