How Do I Get Count of Files in Folder when Folder Trigger is Invoked?

There is actually a separate topic where that question has been asked/answered, with a number of different solutions to choose from: