While you must log at least 120 hours of supervised driving by law, including at least 20 hours of driving at night, there is no specific rule about how many lessons you’ll need to pass.
However, it does greatly depend on your comfort on the road. It’s estimated that those drivers who increase supervised on-road experience with a driving instructor end up doing better in the practical driving test, and tend to reduce their crash risk by 30% in the first two years of driving!