Add numberOfFiles by path in text template.
Fix whitespace in text template.