Storage.length - Web documentation
property Storage.length

Returns the number of key/value pairs currently present in the list associated with the object.

Type

number