SERVER-139551Needs Scheduling
Measure time taken in type inference
We should measure the time taken applying type inference from $match stages in the pipeline. This is the same code block that we will allow to be disabled in SERVER-139549 $match narrowing / branch on forEachPossiblyNarrowingStage and in the future computed field type info). We need to measure the time in that block and report it in some way (the task includes deciding how).