code: def _get_num_similar_objects(self, obj):
          
          return StatementLine.objects.filter(
              date=obj.date, amount=obj.amount, description=obj.description
          ).count()
docs: Get any statement lines which would be considered a duplicate of obj