The worker relay supports count, have you tried?
I know we don't talk too much about NIP-45 (Event Counts) anymore because its not very useful to get a count of events from a public relay. but what about a personal local cache relay? I'd like to easily count the number of followers, likes, reactions, etc from by local relay
nostr:npub1syjmjy0dp62dhccq3g97fr87tngvpvzey08llyt6ul58m2zqpzps9wf6wl would this be hard to add to nostr-relay-tray?
Discussion
I think I implemented it into the relay interface I built around it but didn't use it yet. I'll use it to test though
Also it's been working great on mobile, I've managed to get up to 80k events with no issues or slowdown.
Just need a way to prune the database so I can limit it at 80k
