That lapcount is the one "required" to win, 1 additional lap is possible on both events.
Maggiore with 30 laps means 2 minutes on average without pits, 1 pit is like around 30 seconds, and I am doing 2 of them, so 59 minutes to beat 30 laps means 1m58s, minus your first lap split over the next 29 laps.
(Also, you dont need to carry enough fuel for the additional "victory" lap. After the time has run out, you can finish your lap at a steady speed of 80km/h after running out of fuel).
View attachment 1233777
Crossing the line with 10 seconds left means I did 31 laps in total.
View attachment 1233776
The following AI is about 20 seconds away of the line but only has 10 seconds left, so cant reach 31 laps.
Beating into 32 laps woud be 73seconds per lap. Top10 has recored 34 (well, finding bugs or exploits is some kind of achievement, but it is polluting the leaderboards to compare us with).