Refactor milestone counts so they are calculated in SQL for all milestones.
I'm on a bus, so this is totally untested and maybe obvious
Are we currently running a finder per milestone? For the counts
If so, could we run a single finder querying all of the visible milestones, and do the grouping and counting in SQL?
The milestone index page currently fetches all milestones, and then does separate counts for each milestone. Those include