diff --git a/doltcli/dolt.py b/doltcli/dolt.py index 080b204..150874d 100644 --- a/doltcli/dolt.py +++ b/doltcli/dolt.py @@ -1345,7 +1345,7 @@ def ls(self, system: bool = False, all: bool = False, **kwargs) -> List[TableT]: if not line: pass split = line.lstrip().split() - tables.append(Table(name=split[0], row_cnt=int(split[len(split)-1]))) + tables.append(Table(name=split[0], row_cnt=int(split[len(split)-2]))) if system_pos: for line in output[system_pos:]: