This is my modification to the answer. It reports how many files are below a certain directory in svn and the total size.
svn list -vR svn://svn/repo/subdir|awk '{if ($3 !="") sum+=$3; i++} END {print "
total size= " sum/(1024*1024)" MB" "
number of files= " i/1000 " K"}'
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…