Implemented basic (and inefficient) calculation for progress
information.