I think Snowcait-san proposed something like this for count https://github.com/nostr-protocol/nips/issues/765