How many drive cycles takes for engine light to go off after repair?

not sure for Toyota, but I believe Ford is 30 minutes of normal driving 3 times (hope this helps)