Implicit Grasshopper cycle enumerator + shared dictionary (GHPython)

Hello,

How can I get an access to the implicit Grasshopper cycle enumerator and using this info to accumulate data between cycles and store it in the same shared dictionary for all cycles?

I want to use the enumerated cycle values as keys in my shared python dictionary.

Thank you!
–Y

Any ideas please?