Add progress indicator for quine running script
Fixed bug in counting logic