Don't reset the count when you set buffer