fix(snapshot) count num of log entries rather than etcd transcations
Merge pull request #462 from xiangli-cmu/sync_cnt_for_snapshot

fix(snapshot) count num of log entries rather than etcd transcations