Hi I have the following dataframe and I want to count the number of times that each year repeats
df = pd.DataFrame({\'year\':[1958,1963,1958,1963],\'title\':[