Need some suggestion on how to read and count the files inside a folder with the same filename format.
for example, in folder A, I have 5 .pdf files.
I would like to get the actual count of “a” from that folder regardless of what the next string is. In this case, 2 files should be indicated on the output. I’ve been stuck here for a while and I can’t think of any work around to solve this.
Thank you very much in advance.