Design a distributed tree node counter | Snowflake