JavaScript » History » length

Syntax:
history.length

The length property contains the number of elements in the History list.