Total number of frames that composed the traceback before truncation. This attribute can be set to None if the information is not available.
tracemalloc/Traceback.total_nframe
Traceback.total_nframe