Add counts to the legend based on hover.