# LLEN Returns the length of the list stored at `key`. If `key` does not exist, it is interpreted as an empty list and `0` is returned. An error is returned when the value stored at `key` is not a list. ## Examples redis> LPUSH mylist "World" (integer) 1 redis> LPUSH mylist "Hello" (integer) 2 redis> LLEN mylist (integer) 2 Give these commands a try in the interactive console: LPUSH mylist "World" LPUSH mylist "Hello" LLEN mylist ## Return information {{< multitabs id="llen-return-info" tab1="RESP2" tab2="RESP3" >}} [Integer reply](../../develop/reference/protocol-spec#integers): the length of the list. -tab-sep- [Integer reply](../../develop/reference/protocol-spec#integers): the length of the list.