You are allowed to stay in the UK for a maximum of 5 years in any 6-year period if you’ve already spent time on any of the following visas:
Intra Company routes
Graduate Trainee visa (Global Business Mobility)
Senior or Specialist Worker visa (Global Business Mobility)
Service Supplier visa (Global Business Mobility)
UK Expansion Worker visa (Global Business Mobility)