Fix missing counts bug.