The problem/use-case that the feature addresses

Now, when I wanna get how many messages by a message id range, I had to get all the matched entries, but the entry maybe very large, I just want to get a matched count.

Description of the feature

Maybe we could add range support for XLEN, for example:

XLEN my-stream
XLEN my-stream - +
XLEN my-stream 1618554313653-0 +

Alternatives you've considered

I'm not very familiar with the redis internals, had no other ideas on this.

Comment From: itamarhaber

Hi @WeihanLi

This looks like a duplicate of #5813.

Comment From: WeihanLi

Yeah, my bad, I'll close this

Comment From: itamarhaber

Thanks! No worries, but any additional feedback you have is welcome in that ticket naturally :)