If he just needed a file count every hour and only keep the last 8 hours worth of file counts on any specific directory, he sure had a heck of a way of explaining it ;0
Your right I completely misunderstood what he was asking and offered a irrelevant solution to his problem.
Best reguards.