fix node count in history view