Currently, to see how many states each country has, one needs to make a request to /states/<country> on each of the countries, because /countries does not return the amount of states. I suggest adding a "statecount" field to the output of /countries so programs could display that in the country list.
Currently, to see how many states each country has, one needs to make a request to
/states/<country>
on each of the countries, because/countries
does not return the amount of states. I suggest adding a"statecount"
field to the output of/countries
so programs could display that in the country list.