Ok. 20 dairy goats. That's also assuming high quality dairy hay is fed and pastures are on a daily rotation divided into at least seven sections for intensive grazing and rotation. Come August and September, pastures must be left to regrow to about six inches before the frost hits. Otherwise pasture quality goes out the crapper the next year.
“High quality dairy hay” would actually be not good for goats.
They can get sick from more than a tiny bit of alfalfa.
It’s too rich.
The poorer the hay, the better.
I buy “crap hay” from the local hardware store and apparently, it’s from somebody who mows their wild pasture every so often.
Full of weeds and scrub.
The goats love it.
*Once*, I had to get them “real hay” and they refused to eat it.
Goats like weedy junk nothing else wants to eat.
The saying is “A goat eating grass is a starving goat.”