Update AccumulatedHcount based on currentHCount
Merge pull request #896 from raven02/patch-5

Set accumulatedHcount based on currentHCount