select countries.name, regions.name, cities.name, count(camps.id) from camps
inner join countries on countries.id = camps.region_id
inner join regions on regions.id = camps.region_id
inner join cities on cities.id = camps.region_id
group by countries.name, regions.name, cities.name