Fix upload counter