To limit the number of snap versions, a nice command:
sudo snap set system refresh.retain=2
And to know the number of versions currently in existence:
sudo snap get system refresh.retain
At least 2 and at most 20.
Including the version in use (as far as I understand).