Update output filename + count value