Query editor
WITHmonths_subscribed AS (SELECTbytearray_substring(topic2, 13) AS user,COUNT(*) AS monthsFROMpolygon.logsWHEREtopic0 = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efAND topic1 = 0x00000000000000000000000053fa6ea2843c82f97ae02bc2f448be319e81dc7bAND block_number >= 40587879GROUP BY topic2)SELECTmonths, COUNT(*) AS subscriber_countFROM months_subscribedGROUP BY months ORDER BY months ASC;