Under the A path, there are folders with different file names such as 1A, 2B, 3C, 4D, 5E, etc. Under these folders, there is a Data folder. The Data folder generates daily folder paths according to time. . There are files of .txt type under these lowest paths (but not only files of this type).
Now I want to write a script under the A path. Its purpose is to get the data after the count field in the file from the txt type file under the bottom path. This value always appears in the file as a string like this: "count:XX"
For example:
A/1A/data/20170630/asd.txt
A/1A/data/20170630/ zxc.txt
A/2B/data/20170630/dfg.txt
A/2B/data/20170630/dnv.txt
I need to get the numerical value after count in these txt files.