etcdserver: use snapshotCount flag

make it a const to reuse in `newTestConfig`