Reset buffer counter after dumping