The history.length property is used to get the number of entries in the history stack.
Question 17 of 20 in useHistory Quiz