Adding a progress counter for hashes.