def METHOD_NAME(self) -> Tuple[str, int]:
    if self.entries:
        df = self.to_df()
        # otherwise this will be a numpy int
        last_num = int(df.index.max())
        this_num = last_num + 1
    else:
        this_num = 0
    date = time.strftime('%y-%m-%d')
    ext = 'h5' if getattr(self.cfg, 'SAVE_MODEL_AS_H5', False) \
        else 'savedmodel'
    name = f'pilot_{date}_{this_num}.{ext}'
    return os.path.join(self.cfg.MODELS_PATH, name), this_num