'Check number of cache-save were issued'

def check_cache_saved(self, cachelog, count):

    data_saved = self.regex_data_saved.findall(cachelog)
    index_saved = self.regex_index_saved.findall(cachelog)
    self.assertEqual(len(data_saved), count)
    self.assertEqual(len(index_saved), count)
