fixed output of number of new resources after upload