How many breeds of horses are there?

How many breeds of horses are there?