This will also be used in AddToArchiveTest.
To fix updating of number of files/folders and uncompressed size when adding/deleting entries, a function (countEntriesAndSize()) was added in ArchiveModel that counts the files/folders and total uncompressed size by traversing the model. This function is called before opening PropertiesDialog.
Fixes bug 363368.