Fixed counter issue in multi file upload