Fixed wrong number being shown in _repr_pretty_

Fixes #139