Docs › Commands › HashesHLENSince 1.1.0HashesSyntaxHLEN keyFlags: fast, readonlyACL categories: @fast, @hash, @readArity: 2Returns the number of fields in the hash at key. Reply The count; 0 if the key does not exist. Examples > HSET u name Ada lang Rust (integer) 2 > HLEN u (integer) 2 Related commandsHKEYSHMGETHINCRBYFLOATHMSETHINCRBYHPERSISTHIMPORTHPEXPIREHGETEXHPEXPIREAT