For loop or other possible functions to repeat the frequency counting of the particular tags (features) in multiple XML texts

See the FAQ: How to do a minimal reproducible example reprex for beginners. Questions that don't require creating a dataset to test on usually receive more and more specific answers.

1 Like