Docs › Commands › KeysTOUCHSince 1.1.0KeysSyntaxTOUCH key [key ...]Flags: fast, readonlyACL categories: @fast, @generic, @keyspace, @readArity: -2Counts how many of the given keys exist. An expired key counts as missing. Reply The count. Examples > SET a 1 OK > TOUCH a missing (integer) 1 Related commandsSWAPDBTTLSORT_ROTYPESORTUNLINKSCANRESTORERENAMENXRENAME