Speed up finding numbers for hover by pre-computing them.

There's no more binary search as before. Now we'll pre-compute an object with
years as keys and counts for that year as the values.