Counting doser on a four side seal sachet machine