`|Redis Documentation| `_
**HlenCommand: Contents**
`HLEN \_key\_ (Redis > <#HLEN%20_key_%20(Redis%20%3E>`_
`Return value <#Return%20value>`_
HlenCommand
===========
#sidebar `HashCommandsSidebar `_
HLEN \_key\_ (Redis >
=====================
1.3.10)= *Time complexity: O(1)*
Return the number of entries (fields) contained in the hash stored
at *key*. If the specified *key* does not exist, 0 is returned
assuming an empty hash.
Return value
------------
`Integer reply `_
.. |Redis Documentation| image:: redis.png