fixed issue with search items count not being displayed