Design In-Memory QPS Counter | Databricks Coding Question