made the search results counter also populateState