Fix search result counter