Fix public search display of doc & note counts.