I am counting to the end of November, 22 eps, negating 3 weeks for breaks. (there might be more than that, I can never tell)
5 Ultra Beasts
Hapu
Necrozma (3-4 eps, not sure)
League (2 months approximately)
If pressed, 4 months, maybe more.
That leaves us with room for a few fillers, and that is being relatively generous for me. I didn't even include December, and they'll most likely go into that before breaking for the start of the next saga. We have plenty of time.