We just had 26 Baptisms at our church, and, yes, all the parents had to take classes or else their children couldn’t get baptized.
A neighboring church recently held 59 baptisms. I don’t know about the classes there.
Even if they had older, church-going children?
Why risk a newborn's salvation?
I doubt your parish had 26 children born within one week or, in another parish, 59 born in one week.
That's nothing to be proud of - that baptisms are delayed until a quorum is met.
Infant baptisms should be done as soon as possible; even it interferes with the priest's "schedule".