Added method in server to retrieve the number of parts of sent files