dynamo: Count number of opcodes processes (#147149)
Summary:
This gives us a decent proxy for how big of a graph we functionally had to parse.
Note that this is a cummulative counter. If people feel strongly, I can either write into the dynamo_timed datasets with metrics contexts, or clear the counters / write a counter per frame id as well.
X-link: https://github.com/pytorch/pytorch/pull/147149
Approved by: https://github.com/jansel
Reviewed By: BoyuanFeng
Differential Revision: D70918753
fbshipit-source-id: 7f3e68ebe2e01b6c93ac075d62069cad6c709308