Added progress bar and changed mean count to 1000.