The script goes through given directory along with each of the sub-directories(if any) and count the number of files in the supplied directory and its sub directories as well.
You are always welcome to add more or optimize the code in this repository by following these instructions.