Script to collect counts by year.