How many gates can be used in a race?

The game only supports using four gates at a time. All four gates are required to create a course. Only the four gates that come with the kart can be used to play the game. Each gate has a special marker that tells the camera where the kart is on the course, triggering certain actions in the game.