Moved initialization of sample_count into BEGIN block.
Eilat commit for merge
Merge branch 'master' of github.com:taltman/scripts