- fixed the counting of snapshots