Costa Rica has a population of 3,824,593 inhabitants (according to the 2000 census), distributed in the seven provinces which make up the country: San Jose , Alajuela, Heredia, Cartago, Guanacaste, Puntarenas and Limon. The capitol is located in the province of San Jose , which is the most populous of all.