Build error migrating 5.0.3 to 5.1

I migrating my tool bar plugin from 5.0.3 to 5.1 . While doing so I got this build error

Severity Code Description Project File Line Suppression State
Error C1083 Cannot open include file: ‘TraceServices/Model/Counters.h’: No such file or directory RealBandPlugin C:\Program Files\Epic Games\UE_5.1\Engine\Source\Editor\UnrealEd\Classes\Commandlets\SummarizeTraceCommandlet.h 10

How do I fix this ?