Here you go…
Here is my workflow…
For Each ==> Type Argument = String
Directory.GetDirectories("YourParentFolder").Where(Function(x) New FileInfo(x).LastWriteTime.Date =Now.Date).ToArray
IntCount = Directory.getfiles(EachFolder).where(function(y) path.GetExtension(y).Contains(".xlsx")).Count
Here IntCount is Int32 varaible
IntFinalCount = IntFinalCount+IntCount
Here IntFinaCount is Int32 varaible
In this example I am looking for .xlsx files and I got the count of 13(manually verified). Feels free to changed based on your requirement.
Idea is: Get the folder with date modified equals today. And then loop these folders and look for the file extension and increment the count.
Hope this helps…