code: def count(self, table_name, sample):
          
          return len(list(search_sample(table=self.table(table_name),
                                        sample=sample)))
docs: Return the number of items that match the `sample` field values
          in table `table_name`.
          Check function search_sample for more details.