generalize percentages function
clean data older than 3 months
reset counter; tag counts are unique per retrieval, no need to keep count separately