Your understanding matters more as compared to the hours spent. Usually, if you spend a time of 3 to 4 hours daily then you can reach your goal in almost 3 months.
So it is good to invest a sufficient amount of time ideally which you can easily afford and manage with your other routine tasks and schedules.
Good luck with your learning Journey!!!