A farmer has 5 times as many cows as pigs. The farmer only has cows and pigs, and he has 168 animals. How many cows does he have?