over 5,000 men in it, not counting the women and children
Some scholars think there may have been as many as 10,000 or 15,000 people.
like sheep without a shepherd
This means the people were vulnerable and lost, just like sheep are when they have no shepherd to take care of them.