added methods to count the number of thesis per year and per location