Attached is code sample.
It visits each folder in the repository and lists all files in that folder. Plus prints version comment
for each file and saves the output in excel.
I cannot find information about model size in repository API.
Since check in /check out does not change a model size. You can write code to get
size value and put it in version comment before chceck in.