Calculate total based on a number of uploaded files