adding new aggregation function for finding numbers of papers in last N years