add method to show the popularity of a name over the years