check if snapshot_count has valid value. closes #540