Add getSize() to TraverseTARGETDirectory.r
change TraverseTARGETDirectory.r