Costa Rica has a population of around 4.5 million, of whom nearly a quarter live in the metropolitan area of the capital and largest city, San José.