OBJECT REFCOUNT

Usage:
OBJECT REFCOUNT key
Complexity:
O(1)
Since:
2.2.3

This command returns the reference count of the stored at <key>.