Small optimization for counts on main page.