If you're looking for a reliable and efficient library for estimating element frequencies in data streams, I highly recommend checking out Countersketch. Be sure to review the documentation and examples to ensure it meets your specific use case and requirements.