get file count feature

to get number of file to be uploaded to server