I had 2 lessons, but had been "taught" by my mother. Passed first time.
Did the same with my son last year, taught him myself, but then we booked a course of 5 lessons with a professional instructor (last lesson being the hour before the test). We did that so that the instructor could teach any stuff that wasn't on the test when I did mine, 39 years ago.