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.
|key||string||key holding the list to get the length of.|
|Type||Resolves with||Rejected when|
|Promise<number>||On success, the promise resolves with the length of the list at key.||If the list does not exist, the promise is rejected with an error.|