Added function to tally up countries