Refactor get_countries_and_studies to get_all_studies; add docstring