A farmer had 15 hens and horses at his farm.
He counted a total of 52 legs from his hens and horses.
How many horses did he have?