def get_size(self):
        try:
            size = len(BSON.encode(self))
        except:
            self._process_custom_type('bson', self, self.structure)
            size = len(BSON.encode(self))
            self._process_custom_type('python', self, self.structure)
        return size
See if the move command exists, that it supports -k, and that
dataset/ETHPy150Open namlook/mongokit/mongokit/document.py/Document.get_size--crossover with--dataset/ETHPy150Open zulip/zulip/api/integrations/perforce/git_p4.py/p4_has_move_command