After this modification, you can reset the counter every time it fills up without ever worrying about leaks.