The goats get different types of pelleted feed every day and vermin flock to eat the inevitable dropped bits of food.
I suppose it’s possible you had some kind of a transient breeding congregation going on.
Certain snakes gather in huge numbers and conduct what can only be described as an orgy...;D
I gotch ya re: the goat pellets.
I hadn’t considered the breeding aspect but that is certainly a possibility.
Like I said...I live on a lake...a narrow cove of the lake. I have seen the breeding “orgy”, lol. The snakes will ball up and do water aerobics, making the water churn like crazy. Pretty awesome sight.