Why do cows have many teats?

Only four teats on a cow shouldn't be considered as "many." The advantage of having four quarters--and thus four teats--on a cow is so that the calf doesn't suckle one milk gland completely dry. It also allows the calf to come back for seconds to the other quarter[s] that are still full of milk.