how many hours of driving...Watch
And after how many hours until you could drive safely
I did 1 hr lessons, don't know how many in total, because your concentration wanes after time. This means you become less safe but also you're learning's less efficient, do it takes you longer to learn the same amount.
I found the most beneficial thing is to drive with supervision in-between lessons as much as possible. Driving short routes regularly rather than long drives is much more reflective of what you're likely to be doing straight after your test.
Took me about 6months of weekly-fortnightly lessons to pass my test but most of the confidence building comes once you have your liscense and are driving on your own.