Number of training steps inside a gym env

I’d like to get for every call to reset() inside my custom gym env the value of the total number of training steps. I’ve tried calling to get_global_worker() to get the current policy and the value of global_timesteps but it seems that policy_map is not defined inside that RolloutWorker.

How could I access the value?

Thank you!