displaying number of found items and search results, handles key error exceptions in result