Private
DEFAULT_Optional
blockingOptional
dataUsed for "database" commands to enforce type checking.
Private
loggerMaximum number of parameters allowed. -1 for no maximum.
Minimum number of parameters require.
Optional
pubUsed when PUB/SUB is in effect.
Optional
signSign is used in commands with a compliment command. The only current example is INCR/DECR. Sign is 1 for INCR and -1 for DECR
Optional
txUsed in transactions to enqueue a command.
Every command must implement the execute method.
Available since 2.0.0.
ZCOUNT key min max
Returns the number of elements in the sorted set at key with a score between min and max.
The min and max arguments have the same semantic as described for ZRANGEBYSCORE.
If the key does not exist then ZERO is returned.
Note: the command has a complexity of just O(log(N)) because it uses elements ranks (see ZRANK) to get an idea of the range. Because of this there is no need to do a work proportional to the size of the range. This may not be true for the unit-redis-ness implementation
Return value
Integer reply: the number of elements in the specified score range.