How many ancient societies kept animals