Add resetBlockCounter