Available since: 2.2.3
Time complexity: O(1)
ACL categories: @keyspace @read @slow
@keyspace
@read
@slow
This command returns the reference count of the stored at <key>.
<key>
Integer reply
The number of references.