Added snapshot counting script.