Need Assistance - Can Grafana count files in a folder?

Hi Everyone,
I apologies in advance if this question has been asked and answered. I have a production server that I need to monitor a folder, and trigger an alert if the files have not been processed after a period of time. I have been looking on the web, and have not found any information on doing this. I would appreciate any pointers as to where to look.