count the search result