This works, but it's very hard to extract the necessary information, a better way to allow users to get an idea "at a glance" would be to format the output to something like:

[south america]
Cavalries: 5
Infantries: 5
Artilleries: 5