convert counter back to list #33229 (#33356)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/33229
Pull Request resolved: https://github.com/pytorch/pytorch/pull/33356
Differential Revision: D20003196
Pulled By: vincentqb
fbshipit-source-id: 96f9e0fc7e99a7c2e202f932d1a2ffa158afad92